C4 Engine Terathon Software C4 Engine API Documentation

• Graphics Manager

API Links
Developer Links

Renderable::SetShaderFlags

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

void SetShaderFlags(unsigned long flags);

Parameters
flags The new shader initialization flags.
Description
The SetShaderFlags function sets the shader initialization flags. The flags parameter may be any combination 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::GetShaderFlags