Donner SVG 0.8.0-pre
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::gpu::DrawIndexedCommand Struct Reference

Recorded drawIndexed. Vertex-stepped attributes fetch element baseVertex + index value; instance-stepped attributes fetch element firstInstance + instance. More...

#include "donner/gpu/Commands.h"

Public Attributes

uint32_t indexCount = 0
 Number of indices read.
uint32_t instanceCount = 1
 Number of instances.
uint32_t firstIndex = 0
 First index read, relative to the bound offset.
int32_t baseVertex = 0
 Signed value added to every index before the vertex fetch.
uint32_t firstInstance = 0
 First instance index.

Detailed Description

Recorded drawIndexed. Vertex-stepped attributes fetch element baseVertex + index value; instance-stepped attributes fetch element firstInstance + instance.

Member Data Documentation

◆ baseVertex

int32_t donner::gpu::DrawIndexedCommand::baseVertex = 0

Signed value added to every index before the vertex fetch.

◆ firstIndex

uint32_t donner::gpu::DrawIndexedCommand::firstIndex = 0

First index read, relative to the bound offset.

◆ firstInstance

uint32_t donner::gpu::DrawIndexedCommand::firstInstance = 0

First instance index.

◆ indexCount

uint32_t donner::gpu::DrawIndexedCommand::indexCount = 0

Number of indices read.

◆ instanceCount

uint32_t donner::gpu::DrawIndexedCommand::instanceCount = 1

Number of instances.


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