Renderable::SetRenderableFlags
Defined in: C4Renderable.h
Sets the miscellaneous renderable flags.
Prototype
void SetRenderableFlags(unsigned long flags);
Parameters
flags |
The new renderable flags.
|
Description
The SetRenderableFlags function sets the miscellaneous renderable flags. The flags parameter may be any combination of the following bit flags.
kRenderableCameraTransformInhibit |
Do not apply the world-space to camera-space transformation.
|
kRenderableStructureBufferInhibit |
Do not render into the structure buffer at all.
|
kRenderableStructureVelocityZero |
Always render zero as the velocity in the structure buffer.
|
kRenderableStructureDepthZero |
Always render zero as the depth in the structure buffer. kRenderableStructureVelocityZero must also be set.
|
kRenderableMotionBlurGradient |
Account for the depth gradient when rendering motion blur.
|
kRenderableFogInhibit |
Do not render with fog.
|
By default, none of a renderable object's miscellaneous renderable flags are set.
See Also
Renderable::GetRenderableFlags
|