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