This class defines the culling-mode for rendered primitives. More...
#include <Luminous/CullMode.hpp>
Public Member Functions | |
| LUMINOUS_API | CullMode () |
| Default constructor for cull mode. | |
| LUMINOUS_API | CullMode (bool enabled, Luminous::Face face) |
| Construct a new CullMode. More... | |
| bool | enabled () const |
| Check if culling is enabled. More... | |
| Luminous::Face | face () const |
| Check which faces are culled. More... | |
Static Public Member Functions | |
| static CullMode | Default () |
| Returns the default culling mode. The mode will cull back-facing primitives. | |
This class defines the culling-mode for rendered primitives.
| LUMINOUS_API Luminous::CullMode::CullMode | ( | bool | enabled, |
| Luminous::Face | face | ||
| ) |
Construct a new CullMode.
| enabled | Is culling enabled or not |
| face | Which faces are culled |
|
inline |
Check if culling is enabled.
|
inline |
Check which faces are culled.