Struct EffectParameterUpdater
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
EffectParameterUpdaterLayoutparameters
ParameterCollection
Properties
ResourceGroups
public ResourceGroup[] ResourceGroups { get; }
Property Value
Methods
Update(GraphicsDevice, ResourceGroupAllocator, ParameterCollection)
public void Update(GraphicsDevice graphicsDevice, ResourceGroupAllocator resourceGroupAllocator, ParameterCollection parameters)
Parameters
graphicsDevice
GraphicsDeviceresourceGroupAllocator
ResourceGroupAllocatorparameters
ParameterCollection