ElementType * EnqueueElement( const ElementType & element, ResMaterial::TranslucencyKind translucencyKind, float depth, u8 layerId );
| Name | Description | |
|---|---|---|
| in | element |
Render element to add. |
| in | translucencyKind |
Type of translucency. |
| in | depth | Depth of the mesh in the screen coordinate system.(0.0 ~ 1.0) |
| in | layerId |
ID that is given highest priority when sorting render elements. This is used to control rendering of layers and billboarding. |
Adds a render element to the queue.
CONFIDENTIAL