DirectZ
Loading...
Searching...
No Matches
dz::DrawIndirectCommand Struct Reference

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

Detailed Description

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.

Member Data Documentation

◆ firstInstance

uint32_t dz::DrawIndirectCommand::firstInstance = 0

Instance ID of the first instance.

◆ firstVertex

uint32_t dz::DrawIndirectCommand::firstVertex = 0

Index of the first vertex.

◆ instanceCount

uint32_t dz::DrawIndirectCommand::instanceCount = 0

Number of instances to draw.

◆ vertexCount

uint32_t dz::DrawIndirectCommand::vertexCount = 0

Number of vertices to draw.


The documentation for this struct was generated from the following file: