EffectParameterUpdater Struct
Namespace: Stride.RenderingAssembly: Stride.Graphics.dll
Helper class to update several ResourceGroup from a ParameterCollection.
public struct EffectParameterUpdater
| Name | Description | |
|---|---|---|
| Constructors | ||
| EffectParameterUpdater(EffectParameterUpdaterLayout, ParameterCollection) | ||
| Properties | ||
| ResourceGroups | ||
| Methods | ||
| Update(GraphicsDevice, ResourceGroupAllocator, ParameterCollection) | ||
Constructors
EffectParameterUpdater(EffectParameterUpdaterLayout, ParameterCollection)
public EffectParameterUpdater(EffectParameterUpdaterLayout updaterLayout, ParameterCollection parameters)
Parameters
| Type | Name | Description |
|---|---|---|
| EffectParameterUpdaterLayout | updaterLayout | |
| ParameterCollection | parameters |
Properties
ResourceGroups
public readonly ResourceGroup[] ResourceGroups { get; }
Property Value
| Type | Description |
|---|---|
| ResourceGroup[] |
Methods
Update(GraphicsDevice, ResourceGroupAllocator, ParameterCollection)
public void Update(GraphicsDevice graphicsDevice, ResourceGroupAllocator resourceGroupAllocator, ParameterCollection parameters)
Parameters
| Type | Name | Description |
|---|---|---|
| GraphicsDevice | graphicsDevice | |
| ResourceGroupAllocator | resourceGroupAllocator | |
| ParameterCollection | parameters |
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()