|
Public Types |
| enum | Function {
NEVER = GL_NEVER,
LESS = GL_LESS,
EQUAL = GL_EQUAL,
LEQUAL = GL_LEQUAL,
GREATER = GL_GREATER,
NOTEQUAL = GL_NOTEQUAL,
GEQUAL = GL_GEQUAL,
ALWAYS = GL_ALWAYS
} |
Public Member Functions |
| | Depth (Function func=LESS, double zNear=0.0, double zFar=1.0, bool writeMask=true) |
| | Depth (const Depth &dp, const CopyOp ©op=CopyOp::SHALLOW_COPY) |
| | META_StateAttribute (osg, Depth, DEPTH) |
| virtual int | compare (const StateAttribute &sa) const |
| virtual bool | getModeUsage (ModeUsage &usage) const |
| void | setFunction (Function func) |
| Function | getFunction () const |
| void | setRange (double zNear, double zFar) |
| double | getZNear () const |
| double | getZFar () const |
| void | setWriteMask (bool mask) |
| bool | getWriteMask () const |
| virtual void | apply (State &state) const |
Protected Member Functions |
| virtual | ~Depth () |
Protected Attributes |
| Function | _func |
| double | _zNear |
| double | _zFar |
| bool | _depthWriteMask |