SBgl 0.1.0
A graphics framework in C99
Loading...
Searching...
No Matches
sbgl_IndirectCommand Struct Reference

Standard Vulkan Indirect Draw command layout. More...

#include <sbgl_types.h>

Data Fields

uint32_t indexCount
 
uint32_t instanceCount
 
uint32_t firstIndex
 
int32_t vertexOffset
 
uint32_t firstInstance
 

Detailed Description

Standard Vulkan Indirect Draw command layout.

Definition at line 111 of file sbgl_types.h.

Field Documentation

◆ firstIndex

uint32_t sbgl_IndirectCommand::firstIndex

Offset into the index buffer.

Definition at line 114 of file sbgl_types.h.

◆ firstInstance

uint32_t sbgl_IndirectCommand::firstInstance

ID of the first instance.

Definition at line 116 of file sbgl_types.h.

◆ indexCount

uint32_t sbgl_IndirectCommand::indexCount

Number of vertices (or indices) to draw.

Definition at line 112 of file sbgl_types.h.

◆ instanceCount

uint32_t sbgl_IndirectCommand::instanceCount

Number of instances to draw.

Definition at line 113 of file sbgl_types.h.

◆ vertexOffset

int32_t sbgl_IndirectCommand::vertexOffset

Value added to vertex indices.

Definition at line 115 of file sbgl_types.h.


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