Class EffectParameterUpdaterLayout
Defines the layout used by EffectParameterUpdater to update several ResourceGroups from a ParameterCollection.
public class EffectParameterUpdaterLayout
- Inheritance
-
objectEffectParameterUpdaterLayout
- Extension Methods
Constructors
EffectParameterUpdaterLayout(GraphicsDevice, EffectBytecode, DescriptorSetLayoutBuilder[])
Initializes a new instance of the EffectParameterUpdaterLayout class.
public EffectParameterUpdaterLayout(GraphicsDevice graphicsDevice, EffectBytecode effectBytecode, DescriptorSetLayoutBuilder[] layouts)
Parameters
graphicsDeviceGraphicsDeviceThe Graphics Device used to create resource group layouts. Cannot be null.
effectBytecodeEffectBytecodelayoutsDescriptorSetLayoutBuilder[]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.