Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
Loading...
Searching...
No Matches
donner::gpu::DrawCommand Struct Reference

Recorded draw. More...

#include "donner/gpu/Commands.h"

Public Attributes

uint32_t vertexCount = 0
 Number of vertices.
uint32_t instanceCount = 1
 Number of instances.
uint32_t firstVertex = 0
 First vertex index.
uint32_t firstInstance = 0
 First instance index.

Detailed Description

Recorded draw.

Member Data Documentation

◆ firstInstance

uint32_t donner::gpu::DrawCommand::firstInstance = 0

First instance index.

◆ firstVertex

uint32_t donner::gpu::DrawCommand::firstVertex = 0

First vertex index.

◆ instanceCount

uint32_t donner::gpu::DrawCommand::instanceCount = 1

Number of instances.

◆ vertexCount

uint32_t donner::gpu::DrawCommand::vertexCount = 0

Number of vertices.


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