interface Tinman.Engine.Rendering.IRenderEffect
<TParameters out : RenderEffectParameters>

Base interface for classes that represent a render effect, implemented as a GPU program.

  1. Use Parameters to configure the render effect parameters. This may be done at any time.

  2. Call IBeginEnd.Begin before using the render effect.

  3. Call IRenderEffectBase.Pass to begin rendering for a specific render stage.

  4. Call IRenderEffectBase.Apply in order to apply modified render effect parameters.

  5. Call IBeginEnd.End after using the render effect.

A render effect may only be used between calls to IBeginEnd.Begin and IBeginEnd.End.

Public / Attributes


public attribute Parameters → (get)

value : TParameters

The render effect parameters.

The parameters of this render effect.