C4 Engine Terathon Software C4 Engine API Documentation

• Graphics Manager

API Links
Developer Links

Renderable::GetShaderFlags

Defined in:  C4Renderable.h
Returns the shader initialization flags.
Prototype

unsigned long GetShaderFlags(voidconst;

Description
The GetShaderFlags function returns the shader initialization flags, which can be a combination (through logical OR) of the following bit flags.
kShaderNormalizeBasisVectors Normalize the vertex-space basis vectors (normal and tangent).
kShaderCubeLightInhibit Render using point light shaders when illuminated by a cube light.
By default, none of a renderable object's shader initialization flags are set.
See Also

Renderable::SetShaderFlags