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

One entry of a BindGroupLayoutDescriptor. More...

#include "donner/gpu/Descriptors.h"

Public Attributes

uint32_t binding = 0
 Shader binding index.
ShaderStage visibility = ShaderStage::None
 Stages that may access the binding.
BindingType type = BindingType::UniformBuffer
 Kind of resource bound. Texel format a BindingType::WriteOnlyStorageTexture2d binding writes; the bound texture must have been created with this format. Ignored for every other binding type.
TextureFormat storageTextureFormat = TextureFormat::RGBA8Unorm

Detailed Description

One entry of a BindGroupLayoutDescriptor.

Member Data Documentation

◆ binding

uint32_t donner::gpu::BindGroupLayoutEntry::binding = 0

Shader binding index.

◆ storageTextureFormat

TextureFormat donner::gpu::BindGroupLayoutEntry::storageTextureFormat = TextureFormat::RGBA8Unorm

◆ type

BindingType donner::gpu::BindGroupLayoutEntry::type = BindingType::UniformBuffer

Kind of resource bound. Texel format a BindingType::WriteOnlyStorageTexture2d binding writes; the bound texture must have been created with this format. Ignored for every other binding type.

◆ visibility

ShaderStage donner::gpu::BindGroupLayoutEntry::visibility = ShaderStage::None

Stages that may access the binding.


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