Defined in:Sets the effect list index.
void SetEffectListIndex(unsigned_int32 index);
||The effect list index. This may be one of the values listed below.|
SetEffectListIndexfunction sets the index of the render list in which the effect is placed when it is visible. The
indexparameter can be one of the following constants.
||Fully lit effects. These are rendered during the ambient pass and lighting passes.|
||Opaque effects. These are rendered after the final lighting pass and before any transparent effects.|
||Transparent effects. These are rendered after all opaque effects and are sorted back to front.|
||Frontmost effects. These are render after all transparent effects and are not sorted.|
||Occlusion queries. These are rendered after the ambient pass and before the first lighting pass.|
||Distortion effects. These are rendered into the distortion buffer for post-processing.|
kEffectListTransparentlist, but some effect subclasses change this value.