![]() |
• Effect Manager | ||||||||||||||||
|
API Links
Developer Links
|
Effect::RenderDefined in:
Called when an effect should be rendered.
C4Effects.hPrototype
Parameters
Description
The Render function is called when the World Manager has determined that an effect needs to be rendered. This function is only called for an effect node that is enabled and has already passed the visibility and occlusion tests. (An effect can be disabled by setting the kNodeDisabled flag with the Node::SetNodeFlags function.)When the Render function is called, an Effect node should use the List::Append function to add itself and any additional renderable objects to one or more of the lists in the array specified by the effectList parameter. This array should be indexed using the following values.
Render function should make the following call.
Special Considerations
Note that the Render function can be called multiple times during the same frame for an effect that is visible from multiple cameras. The Render function should not perform any iterative movement under the assumption that the Render function is called only once. Instead, this type of computation should be peformed in the Effect::Move function.
See Also
|