MultiDraw command attributes. More...
#include <DeviceContext.h>
Public Attributes | |
Uint32 | DrawCount = 0 |
The number of draw items to execute. | |
const MultiDrawIndexedItem * | pDrawItems = nullptr |
A pointer to the array of DrawCount draw command items. | |
VALUE_TYPE | IndexType = VT_UNDEFINED |
The type of elements in the index buffer. | |
DRAW_FLAGS | Flags = DRAW_FLAG_NONE |
Additional flags, see Diligent::DRAW_FLAGS. | |
Uint32 | NumInstances = 1 |
Number of instances to draw. | |
Uint32 | FirstInstanceLocation = 0 |
MultiDraw command attributes.
Uint32 Diligent::MultiDrawIndexedAttribs::FirstInstanceLocation = 0 |
LOCATION (or INDEX, but NOT the byte offset) in the vertex buffer to start reading instance data from.
VALUE_TYPE Diligent::MultiDrawIndexedAttribs::IndexType = VT_UNDEFINED |
The type of elements in the index buffer.
Allowed values: VT_UINT16
and VT_UINT32
.
Uint32 Diligent::MultiDrawIndexedAttribs::NumInstances = 1 |
Number of instances to draw.
If more than one instance is specified, instanced draw call will be performed.