#include <lvt/State.h>
Inheritance diagram for State:
Public Member Functions | |
void | Disable () |
Disables the State. | |
void | Enable () |
Enables the State. | |
bool | IsEnabled () const |
Returns true if the State is enabled, false if it is not. | |
virtual void | Render ()=0 |
Activates the State. | |
State () | |
Default constructor. |
|
Default constructor. Enables the State. |
|
Disables the State.
|
|
Enables the State.
|
|
Returns true if the State is enabled, false if it is not. Note that this does not return the current value of the portion of OpenGL state that the object represents. That is, this is not a wrapper around glGet*(). If a State object is enabled, it will enable and set the corresponding piece of OpenGL state when it is rendered. |
|
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 Node. Implemented in Shader, Blending, MatrixMode, Culling, DepthTest, StencilTest, TextureState, TexGen, TexEnv, Texture, Texture1D, and Texture2D. |