Class RenderEffect
Instantiation of an Effect for a given EffectObjectNodeReference.
public class RenderEffect- Inheritance
- 
      objectRenderEffect
Constructors
RenderEffect(EffectSelector)
public RenderEffect(EffectSelector effectSelector)Parameters
- effectSelectorEffectSelector
Fields
Effect
public Effect EffectField Value
EffectSelector
public readonly EffectSelector EffectSelectorField Value
EffectValidator
Validates if effect needs to be compiled or recompiled.
public EffectValidator EffectValidatorField Value
FallbackParameterUpdater
public EffectParameterUpdater FallbackParameterUpdaterField Value
FallbackParameters
public ParameterCollection FallbackParametersField Value
IsReflectionUpdateRequired
public bool IsReflectionUpdateRequiredField Value
PendingEffect
Pending effect being compiled.
public Task<Effect> PendingEffectField Value
PipelineState
Compiled pipeline state.
public PipelineState PipelineStateField Value
Reflection
public RenderEffectReflection ReflectionField Value
RetryTime
Describes when to try again after a previous error (UTC).
public DateTime RetryTimeField Value
State
Describes what state the effect is in (compiling, error, etc..)
public RenderEffectState StateField Value
Properties
LastFrameUsed
public int LastFrameUsed { get; }Property Value
Methods
ClearFallbackParameters()
public void ClearFallbackParameters()IsUsedDuringThisFrame(RenderSystem)
public bool IsUsedDuringThisFrame(RenderSystem renderSystem)Parameters
- renderSystemRenderSystem
Returns
MarkAsUsed(RenderSystem)
Mark effect as used during this frame.
public bool MarkAsUsed(RenderSystem renderSystem)Parameters
- renderSystemRenderSystem
Returns
- bool
- True if state changed (object was not mark as used during this frame until now), otherwise false.