Table of Contents

Class EffectParameterUpdaterLayout

Namespace
Stride.Rendering
Assembly
Stride.Graphics.dll

Defines the layout used by EffectParameterUpdater to update several ResourceGroups from a ParameterCollection.

public class EffectParameterUpdaterLayout
Inheritance
object
EffectParameterUpdaterLayout
Extension Methods

Constructors

EffectParameterUpdaterLayout(GraphicsDevice, EffectBytecode, DescriptorSetLayoutBuilder[])

Initializes a new instance of the EffectParameterUpdaterLayout class.

public EffectParameterUpdaterLayout(GraphicsDevice graphicsDevice, EffectBytecode effectBytecode, DescriptorSetLayoutBuilder[] layouts)

Parameters

graphicsDevice GraphicsDevice

The Graphics Device used to create resource group layouts. Cannot be null.

effectBytecode EffectBytecode
layouts DescriptorSetLayoutBuilder[]

An array of DescriptorSetLayoutBuilder instances that define the layouts for resource groups. Each layout is processed to extract resources and Constant Buffers. Cannot be null or contain null elements.

Remarks

This constructor processes the provided Descriptor Set layouts to create resource group layouts and associates them with the Effect's parameters. It identifies Constant Buffers within the layouts and processes them to ensure they are compatible with the Effect's bytecode.