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

One entry of a BindGroupDescriptor. The resource alternative must match the BindingType of the layout entry with the same binding index. More...

#include "donner/gpu/Descriptors.h"

Public Attributes

uint32_t binding = 0
 Shader binding index.
std::variant< BufferBinding, TextureViewBinding, SamplerBindingresource
 Bound resource.

Detailed Description

One entry of a BindGroupDescriptor. The resource alternative must match the BindingType of the layout entry with the same binding index.

Member Data Documentation

◆ binding

uint32_t donner::gpu::BindGroupEntry::binding = 0

Shader binding index.

◆ resource

std::variant<BufferBinding, TextureViewBinding, SamplerBinding> donner::gpu::BindGroupEntry::resource

Bound resource.


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