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
- updaterLayoutEffectParameterUpdaterLayout
- parametersParameterCollection
Properties
ResourceGroups
public ResourceGroup[] ResourceGroups { get; }Property Value
Methods
Update(GraphicsDevice, ResourceGroupAllocator, ParameterCollection)
public void Update(GraphicsDevice graphicsDevice, ResourceGroupAllocator resourceGroupAllocator, ParameterCollection parameters)Parameters
- graphicsDeviceGraphicsDevice
- resourceGroupAllocatorResourceGroupAllocator
- parametersParameterCollection