Table of Contents

Class ResourceGroupLayout

Namespace
Stride.Graphics
Assembly
Stride.Graphics.dll

Represents the layout of the Graphics Resources and parameter values which form a resource group.

public class ResourceGroupLayout
Inheritance
object
ResourceGroupLayout
Derived
Extension Methods

Fields

ConstantBufferHash

A hash value identifying the Constant Buffer, used to track changes and updates.

public ObjectId ConstantBufferHash

Field Value

ObjectId

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

EffectConstantBufferDescription

ConstantBufferSize

The size of the Constant Buffer associated with the resource group layout.

public int ConstantBufferSize

Field Value

int

DescriptorSetLayout

The Descriptor Set layout that defines the structure of the resource group.

public DescriptorSetLayout DescriptorSetLayout

Field Value

DescriptorSetLayout

DescriptorSetLayoutBuilder

The Descriptor Set layout builder used to describe the Descriptors for the resource group.

public DescriptorSetLayoutBuilder DescriptorSetLayoutBuilder

Field Value

DescriptorSetLayoutBuilder

Hash

A hash value identifying the resource group layout.

public ObjectId Hash

Field Value

ObjectId

Methods

New(GraphicsDevice, ResourceGroupDescription)

Creates a new instance of a ResourceGroupLayout.

public static ResourceGroupLayout New(GraphicsDevice graphicsDevice, ResourceGroupDescription resourceGroupDescription)

Parameters

graphicsDevice GraphicsDevice

The Graphics Device to use to manage GPU resources. Cannot be null.

resourceGroupDescription ResourceGroupDescription

A 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

graphicsDevice GraphicsDevice

The Graphics Device to use to manage GPU resources. Cannot be null.

resourceGroupDescription ResourceGroupDescription

A description of the resource group, specifying its layout and resources. Cannot be null.

Returns

ResourceGroupLayout

A new instance of ResourceGroupLayout.

Type Parameters

TLayout

The type of resource group layout to create.