#include <lvt/State.h>
Inheritance diagram for Culling:
The Culling class controls the orientation of front-facing polygons and which polygons (front, back, or both) are culled by OpenGL.
Public Member Functions | |
GLenum | GetCullFace () const |
Returns which faces are culled by OpenGL. | |
GLenum | GetFrontFace () const |
Returns the orientation of front-facing polygons. | |
virtual void | Render () |
Activates the State. | |
void | SetCullFace (GLenum cullFace) |
Sets which faces are culled by OpenGL. | |
void | SetFrontFace (GLenum frontFace) |
Sets the orientation of front-facing polygons. |
|
Returns which faces are culled by OpenGL.
|
|
Returns the orientation of front-facing polygons.
|
|
Activates the State. If the State is enabled, the corresponding piece of OpenGL state is enabled and its value is set, if appropriate. If the State object is disabled, the corresponding piece of OpenGL state is disabled. Implements State. |
|
Sets which faces are culled by OpenGL.
|
|
Sets the orientation of front-facing polygons.
|