The Depth class inherits from the base class State, describing how the depth test is operated during rendering. More...
#include <state.h>
Public Types | |
| enum class | Function { NEVER , LESS , LEQUAL , EQUAL , NOTEQUAL , GEQUAL , GREATER , ALWAYS } |
| This enumeration defines different comparison operators used for the depth test. More... | |
Public Member Functions | |
| Depth (bool enabled=false, Depth::Function func=Depth::Function::LESS, bool writeMask=true) | |
Public Member Functions inherited from cil::State | |
| State () | |
| const std::string & | className () const |
Public Member Functions inherited from cil::Object | |
| Object () | |
| virtual | ~Object () |
Public Attributes | |
| bool | enabled |
| This member allows you to enable/diable depth test. | |
| Function | func |
| bool | writeMask |
Additional Inherited Members | |
Protected Attributes inherited from cil::State | |
| std::string | m_className |
The Depth class inherits from the base class State, describing how the depth test is operated during rendering.
|
strong |
| cil::Depth::Depth | ( | bool | enabled = false, |
| Depth::Function | func = Depth::Function::LESS, | ||
| bool | writeMask = true ) |
| bool cil::Depth::enabled |
This member allows you to enable/diable depth test.
| Function cil::Depth::func |
| bool cil::Depth::writeMask |