DirectZ
|
Represents a single indirect draw command for use with GPU draw calls. More...
#include <DrawList.hpp>
Public Attributes | |
uint32_t | vertexCount = 0 |
uint32_t | instanceCount = 0 |
uint32_t | firstVertex = 0 |
uint32_t | firstInstance = 0 |
Represents a single indirect draw command for use with GPU draw calls.
This structure corresponds to the layout expected by functions like glDrawArraysIndirect or vkCmdDrawIndirect.
uint32_t dz::DrawIndirectCommand::firstInstance = 0 |
Instance ID of the first instance.
uint32_t dz::DrawIndirectCommand::firstVertex = 0 |
Index of the first vertex.
uint32_t dz::DrawIndirectCommand::instanceCount = 0 |
Number of instances to draw.
uint32_t dz::DrawIndirectCommand::vertexCount = 0 |
Number of vertices to draw.