Struct ResourceGroupDescription
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
descriptorSetLayoutDescriptorSetLayoutBuilderA description of the layout of the Descriptor Set for the resource group.
constantBufferReflectionEffectConstantBufferDescriptionA 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
DescriptorSetLayout
A description of the layout of the Descriptor Set for the resource group.
public readonly DescriptorSetLayoutBuilder DescriptorSetLayout
Field Value
Hash
A hash value identifying the resource group description.
public readonly ObjectId Hash