#include <RenderState.h>
Public Member Functions | |
| void | enableDepthTest (StateCompare_t depth_test) |
| void | disableDepthTest () |
| void | enableDepthWrite () |
| void | disableDepthWrite () |
| void | enableStencil (StateCompare_t stencil_test, i32 ref, u32 mask) |
| void | disableStencil () |
| void | enableBlend (StateSrcBlend_t src_blend, StateDstBlend_t dst_blend) |
| void | disableBlend () |
| void | enableCulling (StateCulling_t cull_strategy) |
| void | disableCulling () |
| void | enableFrustumCulling () |
| void | disableFrustumCulling () |
| void | enableScissor (i32 x, i32 y, u32 width, u32 height) |
| void | disableScissor () |
| void | setDefault () |
Friends | |
| class | SceneGraph |
| class | Renderer |
| class | ShaderProgram |
Defines an internal State.
This sets the rendering state. The state specified in a State node will hold for the whole subtree of the node, or until a new State node is comes along.
IMPORTANT NOTE: Scissor and stencil is untested.
| void RenderState::setDefault | ( | ) |
Set all states to default
1.7.2