25 #ifndef __glfStencilBufferMode_hh__
26 #define __glfStencilBufferMode_hh__
28 #include "glfCommon.hh"
50 void SetStencilTest(
bool enable);
57 void SetStencilMask(GLuint mask);
64 void SetStencilFunc(GLenum comparisonFunc);
70 void SetReferenceValue(GLint referenceValue);
82 void SetStencilOperation(GLenum stencilFail, GLenum stencilPassZFail, GLenum stencilPassZPass);
95 GLboolean enableTest_;
98 GLint referenceValue_;
101 GLenum stencilPassZFail_;
102 GLenum stencilPassZPass_;
108 #endif // __glfStencilBufferMode_hh__
Defines the usage of the stencil buffer.
virtual ~glfStencilBufferMode()
static const glfStencilBufferMode DEFAULT
The default stencil buffer mode.