![]() |
XII Release 0.1.0
|
Describes parameters for issuing a multi-draw call with indexed geometry. More...
#include <CommandList.h>
Public Member Functions | |
XII_ALWAYS_INLINE | xiiGALMultiDrawIndexedDescription ()=default |
Default-initialized indexed multi-draw description. | |
XII_ALWAYS_INLINE | xiiGALMultiDrawIndexedDescription (xiiArrayPtr< const xiiGALMultiDrawIndexedItem > pDrawItems, xiiEnum< xiiGALValueType > IndexType, xiiUInt32 uiInstanceCount=1U, xiiUInt32 uiFirstInstanceLocation=0U) |
Constructs an indexed multi-draw description with specified items and parameters. | |
Public Attributes | |
xiiArrayPtr< const xiiGALMultiDrawIndexedItem > | m_pDrawItems |
Pointer to indexed draw entries. | |
xiiEnum< xiiGALValueType > | m_IndexType = xiiGALValueType::Undefined |
Type of index data. | |
xiiUInt32 | m_uiInstanceCount = 1U |
Number of instances to render. If more than one instances are specified, an instanced draw call will be performed. | |
xiiUInt32 | m_uiFirstInstanceLocation = 0U |
First instance ID passed to vertex shader. | |
Describes parameters for issuing a multi-draw call with indexed geometry.
Provides an array of indexed draw items and instance-level information for batched rendering.
|
inline |
Constructs an indexed multi-draw description with specified items and parameters.
pDrawItems | - Pointer to indexed draw item array. |
IndexType | - Type of index data (e.g. 16-bit or 32-bit). |
uiInstanceCount | - Number of instances to render. Defaults to 1. |
uiFirstInstanceLocation | - Instance ID for the first instance. |