25 #ifndef __glfDepthBufferMode_hh__
26 #define __glfDepthBufferMode_hh__
28 #include "glfCommon.hh"
49 void SetDepthTest(
bool enable);
54 void SetDepthMask(
bool flag);
61 void SetDepthFunc(GLenum depthFunc);
67 void SetDepthRange(
double nearVal,
double farVal);
83 GLclampd nearVal_, farVal_;
88 #endif // __glfDepthBufferMode_hh__
Defines the usage of the depth buffer.
static const glfDepthBufferMode DEFAULT
The default depth buffer mode.
virtual ~glfDepthBufferMode()