CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::GPUDrawIndirectCommand Struct Reference

Structure specifying a draw indirect command. More...

#include <CeresEngine/RenderAPI/GPUCommandBuffer.hpp>

Public Attributes

UInt32 vertexCount = 0
 The number of vertices to draw.
 
UInt32 instanceCount = 1
 The number of instances to draw.
 
UInt32 firstVertex = 0
 The index of the first vertex to draw.
 
UInt32 firstInstance = 0
 The instance ID of the first instance to draw.
 

Detailed Description

Structure specifying a draw indirect command.

Member Data Documentation

◆ firstInstance

UInt32 CeresEngine::GPUDrawIndirectCommand::firstInstance = 0

The instance ID of the first instance to draw.

◆ firstVertex

UInt32 CeresEngine::GPUDrawIndirectCommand::firstVertex = 0

The index of the first vertex to draw.

◆ instanceCount

UInt32 CeresEngine::GPUDrawIndirectCommand::instanceCount = 1

The number of instances to draw.

◆ vertexCount

UInt32 CeresEngine::GPUDrawIndirectCommand::vertexCount = 0

The number of vertices to draw.


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