EffectSystemExtensions Class
Namespace: Stride.RenderingAssembly: Stride.Rendering.dll
Extensions for EffectSystem
System.Object →
EffectSystemExtensions
Derived from EffectSystemExtensions:
public static class EffectSystemExtensions
Name | Description | |
---|---|---|
Methods | ||
LoadEffect(EffectSystem, String) | Creates an effect. |
Methods
LoadEffect(EffectSystem, String)
Creates an effect.
public static TaskOrResult<Effect> LoadEffect(this EffectSystem effectSystem, string effectName)
Parameters
Type | Name | Description |
---|---|---|
EffectSystem | effectSystem | The effect system. |
System.String | effectName | Name of the effect. |
Returns
Type | Description |
---|---|
TaskOrResult<Effect> | A new instance of an effect. |