Kanzi 4.0.0-beta2
kanzi::gfx::ResourceSetCreateInfo Struct Reference

Creation information for a resource set. More...

#include <kanzi/gfx/create_info.hpp>

Inheritance diagram for kanzi::gfx::ResourceSetCreateInfo:
[legend]

Classes

struct  BufferView
 Describes a buffer view. May be uniform or storage buffer. More...
 
struct  ImageView
 Describes an image view. More...
 
struct  Sampler
 Describes a sampler. More...
 
struct  TexelBufferView
 Describes a texel or image buffer view. More...
 

Public Attributes

VectorMap< string, ImageViewimageViews
 Mapping of a string identifier from the shader and an image view.
 
VectorMap< string, Samplersamplers
 Mapping of a string identifier from the shader and a sampler.
 
VectorMap< string, BufferViewstorageBufferViews
 Mapping of a string identifier from the shader and a storage buffer view.
 
VectorMap< string, TexelBufferViewtexelBufferViews
 Mapping of a string identifier from the shader and a texel or image buffer view.
 
VectorMap< string, BufferViewuniformBufferViews
 Mapping of a string identifier from the shader and a uniform buffer view.
 
- Public Attributes inherited from kanzi::gfx::BaseCreateInfo
string_view name
 The name of the graphics object, useful for debugging.
 

Detailed Description

Creation information for a resource set.

The resource set contains the set of resources that are used by a shader program. It represents the unit of binding for resources.

Since
Kanzi 4.0.0

Member Data Documentation

◆ uniformBufferViews

VectorMap<string, BufferView> kanzi::gfx::ResourceSetCreateInfo::uniformBufferViews

Mapping of a string identifier from the shader and a uniform buffer view.

◆ storageBufferViews

VectorMap<string, BufferView> kanzi::gfx::ResourceSetCreateInfo::storageBufferViews

Mapping of a string identifier from the shader and a storage buffer view.

◆ texelBufferViews

VectorMap<string, TexelBufferView> kanzi::gfx::ResourceSetCreateInfo::texelBufferViews

Mapping of a string identifier from the shader and a texel or image buffer view.

◆ imageViews

VectorMap<string, ImageView> kanzi::gfx::ResourceSetCreateInfo::imageViews

Mapping of a string identifier from the shader and an image view.

◆ samplers

VectorMap<string, Sampler> kanzi::gfx::ResourceSetCreateInfo::samplers

Mapping of a string identifier from the shader and a sampler.

If no sampler is specified, a default is used.


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