The Culling class inherits from the base class State, describing the culling operation during rendering a 3D object. More...
#include <state.h>
Public Types | |
| enum class | Mode { BACK , FRONT , FRONT_AND_BACK } |
| The enumeration defines the type of the face we want to cull. More... | |
| enum class | Face { CCW , CW } |
| The enumeration defines the ordering (counter-clockwise and clockwise) of the front-faces or the back-faces. More... | |
Public Member Functions | |
| Culling (bool enabled=false, Culling::Face face=Culling::Face::CCW, Culling::Mode mode=Culling::Mode::BACK) | |
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 |
| Face | face |
| Mode | mode |
Additional Inherited Members | |
Protected Attributes inherited from cil::State | |
| std::string | m_className |
The Culling class inherits from the base class State, describing the culling operation during rendering a 3D object.
|
strong |
|
strong |
| cil::Culling::Culling | ( | bool | enabled = false, |
| Culling::Face | face = Culling::Face::CCW, | ||
| Culling::Mode | mode = Culling::Mode::BACK ) |
| bool cil::Culling::enabled |
| Face cil::Culling::face |
| Mode cil::Culling::mode |