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

One buffer statically used by an entry point, including uses through helper functions. Generated from the same IR as shader source; the runtime never parses shader source. More...

#include "donner/gpu/Descriptors.h"

Public Member Functions

bool operator== (const ShaderBufferBindingInfo &other) const =default
 Equality comparison.

Public Attributes

RcString entryPoint
 Entry point using this binding.
ShaderStage stage = ShaderStage::None
 Single shader stage of that entry point.
uint32_t group = 0
 Bind group index.
uint32_t binding = 0
 Binding index within the group.
BindingType type = BindingType::UniformBuffer
 Uniform or read-only storage buffer.
uint64_t minSizeBytes = 0
 Fixed layout size, or one runtime-array element.
uint32_t runtimeArrayStrideBytes = 0
 Runtime-array stride; zero for a fixed-size binding.

Detailed Description

One buffer statically used by an entry point, including uses through helper functions. Generated from the same IR as shader source; the runtime never parses shader source.

Member Function Documentation

◆ operator==()

bool donner::gpu::ShaderBufferBindingInfo::operator== ( const ShaderBufferBindingInfo & other) const
default

Equality comparison.

Parameters
otherFacts to compare.

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