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