Renderable::GetRenderState
Defined in:
Returns the render state flags that pertain to rendering.
C4Renderable.h
Prototype
uint32 GetRenderState(void) const;
Description
The GetRenderState
function returns the light-independent rendering state, which can be a combination (through logical OR) of the following bit flags.
kRenderDepthTest |
The depth test is enabled. If the depth test is disabled, then depth is also not written. |
kRenderColorInhibit |
Writes to the color buffer are disabled. |
kRenderDepthInhibit |
Writes to the depth buffer are disabled. |
kRenderDepthOffset |
Apply depth offset in the projection matrix. See the Renderable::SetDepthOffset function.
|
kRenderPolygonOffset |
Apply minimal viewport-space polygon offset using the graphics hardware. |
kRenderClippingPlanes |
A set of four user clipping planes is applied. |
kRenderLinePolygon |
Render edges instead of filled polygons. |
kRenderRectPolygon |
Render filled rectangles instead of polygons. |
See Also