enum BatchType { DP_Single, DP_Batch, DP_Instanced, DP_Virtual, DP_Failed, DP_None, DP_DrawableCount = DP_Instanced+1 };
An enumeration indicating the batch type of rendering performed.
Members |
Description |
DP_Single |
A single mesh. This mesh is identified separately because it can use more compact vertex format and simpler shaders. |
DP_Batch |
A batch mode with multiple meshes combined together into a single draw call. |
DP_Instanced |
A single mesh replicated multiple times through HW instancing. There must be more than one item in the mesh for this state to be set. |
DP_Virtual |
Virtual chunk haven't yet been processed by the renderer, so its meshes data is not reserved. When a virtual chunk is processed, it is converted into one list of different chunk types. |
DP_Failed |
A mesh which failed on mesh generation, and hence cannot be displayed. Can have multiple instances. |
DP_None |
No BatchType was used. |
DP_DrawableCount = DP_Instanced+1 |
The number of batch types that are renderable. |
Render_Primitive.h