Class ResourceGroupLayout
Represents the layout of the Graphics Resources and parameter values which form a resource group.
public class ResourceGroupLayout
- Inheritance
-
objectResourceGroupLayout
- Derived
- Extension Methods
Fields
ConstantBufferHash
A hash value identifying the Constant Buffer, used to track changes and updates.
public ObjectId ConstantBufferHash
Field Value
ConstantBufferReflection
A description of the Constant Buffer associated with the resource group layout, including the values and types of its parameters.
public EffectConstantBufferDescription ConstantBufferReflection
Field Value
ConstantBufferSize
The size of the Constant Buffer associated with the resource group layout.
public int ConstantBufferSize
Field Value
DescriptorSetLayout
The Descriptor Set layout that defines the structure of the resource group.
public DescriptorSetLayout DescriptorSetLayout
Field Value
DescriptorSetLayoutBuilder
The Descriptor Set layout builder used to describe the Descriptors for the resource group.
public DescriptorSetLayoutBuilder DescriptorSetLayoutBuilder
Field Value
Hash
A hash value identifying the resource group layout.
public ObjectId Hash
Field Value
Methods
New(GraphicsDevice, ResourceGroupDescription)
Creates a new instance of a ResourceGroupLayout.
public static ResourceGroupLayout New(GraphicsDevice graphicsDevice, ResourceGroupDescription resourceGroupDescription)
Parameters
graphicsDeviceGraphicsDeviceThe Graphics Device to use to manage GPU resources. Cannot be null.
resourceGroupDescriptionResourceGroupDescriptionA description of the resource group, specifying its layout and resources. Cannot be null.
Returns
- ResourceGroupLayout
A new instance of ResourceGroupLayout.
New<TLayout>(GraphicsDevice, ResourceGroupDescription)
Creates a new instance of a ResourceGroupLayout.
public static ResourceGroupLayout New<TLayout>(GraphicsDevice graphicsDevice, ResourceGroupDescription resourceGroupDescription) where TLayout : ResourceGroupLayout, new()
Parameters
graphicsDeviceGraphicsDeviceThe Graphics Device to use to manage GPU resources. Cannot be null.
resourceGroupDescriptionResourceGroupDescriptionA description of the resource group, specifying its layout and resources. Cannot be null.
Returns
- ResourceGroupLayout
A new instance of ResourceGroupLayout.
Type Parameters
TLayoutThe type of resource group layout to create.