mirror of https://github.com/axmolengine/axmol.git
18 lines
380 B
C
18 lines
380 B
C
|
#pragma once
|
||
|
|
||
|
#include "../DepthStencilState.h"
|
||
|
|
||
|
CC_BACKEND_BEGIN
|
||
|
|
||
|
class DepthStencilStateGL : public DepthStencilState
|
||
|
{
|
||
|
public:
|
||
|
// Reset to default state.
|
||
|
static void reset();
|
||
|
|
||
|
DepthStencilStateGL(const DepthStencilDescriptor& descriptor);
|
||
|
void apply(unsigned int stencilReferenceValueFront, unsigned int stencilReferenceValueBack) const;
|
||
|
};
|
||
|
|
||
|
CC_BACKEND_END
|