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

Structure specifying a draw indirect command. More...

#include <CeresEngine/RenderAPI/GPUCommandBuffer.hpp>

Public Attributes

UInt32 indexCount = 0
 The number of vertices to draw.
 
UInt32 instanceCount = 1
 The number of instances to draw.
 
UInt32 firstIndex = 0
 The base index within the index buffer.
 
Int32 vertexOffset = 0
 The value added to the vertex index before indexing into the vertex buffer.
 
UInt32 firstInstance = 0
 The instance ID of the first instance to draw.
 

Detailed Description

Structure specifying a draw indirect command.

Member Data Documentation

◆ firstIndex

UInt32 CeresEngine::GPUDrawIndexedIndirectCommand::firstIndex = 0

The base index within the index buffer.

◆ firstInstance

UInt32 CeresEngine::GPUDrawIndexedIndirectCommand::firstInstance = 0

The instance ID of the first instance to draw.

◆ indexCount

UInt32 CeresEngine::GPUDrawIndexedIndirectCommand::indexCount = 0

The number of vertices to draw.

◆ instanceCount

UInt32 CeresEngine::GPUDrawIndexedIndirectCommand::instanceCount = 1

The number of instances to draw.

◆ vertexOffset

Int32 CeresEngine::GPUDrawIndexedIndirectCommand::vertexOffset = 0

The value added to the vertex index before indexing into the vertex buffer.


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