IRenderStep Interface
Definition
Section titled “Definition”A rendering step processed by an IRenderer.
public interface IRenderStep : IDisposableProperties
Section titled “Properties”The name of the render step.
string Name { get; }SortOrder
Section titled “SortOrder”Indicates priority related to other steps. Lowest runs first.
uint SortOrder { get; set; }Methods
Section titled “Methods”SetData(object)
Section titled “SetData(object)”Adds supplemental data to the render step.
void SetData(object data)Parameters
Section titled “Parameters”data object
The data to add to the step.
Reset()
Section titled “Reset()”Called when the step should reset any state or texture information.
void Reset()Refresh(IRenderer, IScreenSurface, bool, bool)
Section titled “Refresh(IRenderer, IScreenSurface, bool, bool)”Called to redraw the render step if needed.
bool Refresh(IRenderer renderer, IScreenSurface screenObject, bool backingTextureChanged, bool isForced)Parameters
Section titled “Parameters”renderer IRenderer
The renderer the render step is using.
screenObject IScreenSurface
The surface associated with the renderer. This may be null.
backingTextureChanged bool
true to indicate the Output changed; otherwise false.
isForced bool
true when refresh is being forced; otherwise false.
Returns
Section titled “Returns”bool
true when the step is going to draw something new and is requesting a Composing(IRenderer, IScreenSurface) step; otherwise false.
Composing(IRenderer, IScreenSurface)
Section titled “Composing(IRenderer, IScreenSurface)”Called when the renderer needs to redraw the Output texture.
void Composing(IRenderer renderer, IScreenSurface screenObject)Parameters
Section titled “Parameters”renderer IRenderer
The renderer the render step is using.
screenObject IScreenSurface
The surface associated with the renderer. This may be null.
Render(IRenderer, IScreenSurface)
Section titled “Render(IRenderer, IScreenSurface)”Called when building draw calls for the render pipeline.
void Render(IRenderer renderer, IScreenSurface screenObject)Parameters
Section titled “Parameters”renderer IRenderer
The renderer the render step is using.
screenObject IScreenSurface
The surface associated with the renderer. This may be null.
OnHostUpdated(IScreenObject)
Section titled “OnHostUpdated(IScreenObject)”Called when various states in the host change.
void OnHostUpdated(IScreenObject host)Parameters
Section titled “Parameters”host IScreenObject
The host that uses this component.