Table of Contents

Struct EffectParameterUpdater

Namespace
Stride.Rendering
Assembly
Stride.Graphics.dll

Helper class to update several ResourceGroup from a ParameterCollection.

public struct EffectParameterUpdater
Inherited Members

Constructors

EffectParameterUpdater(EffectParameterUpdaterLayout, ParameterCollection)

public EffectParameterUpdater(EffectParameterUpdaterLayout updaterLayout, ParameterCollection parameters)

Parameters

updaterLayout EffectParameterUpdaterLayout
parameters ParameterCollection

Properties

ResourceGroups

public ResourceGroup[] ResourceGroups { get; }

Property Value

ResourceGroup[]

Methods

Update(GraphicsDevice, ResourceGroupAllocator, ParameterCollection)

public void Update(GraphicsDevice graphicsDevice, ResourceGroupAllocator resourceGroupAllocator, ParameterCollection parameters)

Parameters

graphicsDevice GraphicsDevice
resourceGroupAllocator ResourceGroupAllocator
parameters ParameterCollection