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::shader::StructLayout Struct Reference

Layout of a struct type: overall alignment/size plus per-member offsets in declaration order. More...

#include "donner/gpu/shader/IrLayout.h"

Public Attributes

uint32_t alignBytes = 0
 Struct alignment.
uint32_t sizeBytes = 0
 Struct size, rounded up to the alignment.
std::vector< StructMemberLayoutmembers
 Per-member layouts, in declaration order.

Detailed Description

Layout of a struct type: overall alignment/size plus per-member offsets in declaration order.

Member Data Documentation

◆ alignBytes

uint32_t donner::gpu::shader::StructLayout::alignBytes = 0

Struct alignment.

◆ members

std::vector<StructMemberLayout> donner::gpu::shader::StructLayout::members

Per-member layouts, in declaration order.

◆ sizeBytes

uint32_t donner::gpu::shader::StructLayout::sizeBytes = 0

Struct size, rounded up to the alignment.


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