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::VertexBufferLayout Struct Reference

Layout of one vertex buffer slot of a render pipeline. More...

#include "donner/gpu/Descriptors.h"

Public Attributes

uint32_t strideBytes = 0
 Bytes per element. Must fit all attributes.
VertexStepMode stepMode = VertexStepMode::Vertex
 Step rate.
std::vector< VertexAttributeattributes
 Attributes; locations must be unique.

Detailed Description

Layout of one vertex buffer slot of a render pipeline.

Member Data Documentation

◆ attributes

std::vector<VertexAttribute> donner::gpu::VertexBufferLayout::attributes

Attributes; locations must be unique.

◆ stepMode

VertexStepMode donner::gpu::VertexBufferLayout::stepMode = VertexStepMode::Vertex

Step rate.

◆ strideBytes

uint32_t donner::gpu::VertexBufferLayout::strideBytes = 0

Bytes per element. Must fit all attributes.


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