Table of Contents

Struct ResourceGroupDescription

Namespace
Stride.Graphics
Assembly
Stride.Graphics.dll

Represents a description of a resource group, including the layout of its Graphics Resources and Constant Buffers.

public readonly struct ResourceGroupDescription
Inherited Members
Extension Methods

Remarks

A resource group is a collection of resources (e.g., Textures, Buffers) that are grouped together for use in rendering or compute operations, and that are usually updated at a specific frequency.

Constructors

ResourceGroupDescription(DescriptorSetLayoutBuilder, EffectConstantBufferDescription)

Initializes a new instance of the ResourceGroupDescription structure.

public ResourceGroupDescription(DescriptorSetLayoutBuilder descriptorSetLayout, EffectConstantBufferDescription constantBufferReflection)

Parameters

descriptorSetLayout DescriptorSetLayoutBuilder

A description of the layout of the Descriptor Set for the resource group.

constantBufferReflection EffectConstantBufferDescription

A desription of the Constant Buffer used by this resource group, if any. Can be null if no Constant Buffer is used.

Fields

ConstantBufferReflection

A description of the Constant Buffer used by this resource group, if any.

public readonly EffectConstantBufferDescription ConstantBufferReflection

Field Value

EffectConstantBufferDescription

DescriptorSetLayout

A description of the layout of the Descriptor Set for the resource group.

public readonly DescriptorSetLayoutBuilder DescriptorSetLayout

Field Value

DescriptorSetLayoutBuilder

Hash

A hash value identifying the resource group description.

public readonly ObjectId Hash

Field Value

ObjectId