axmol/cocos/renderer/backend/opengl/DepthStencilStateGL.h

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