OutputSurfaceRenderStep Class
Definition
Section titled “Definition”A render step that draws the _backingTexture texture.
public class OutputSurfaceRenderStep : IRenderStep, IDisposableInheritance object
Implements IRenderStep, IDisposable
Constructors
Section titled “Constructors”OutputSurfaceRenderStep()
Section titled “OutputSurfaceRenderStep()”public OutputSurfaceRenderStep()Properties
Section titled “Properties”The name of the render step.
public string Name { get; }SortOrder
Section titled “SortOrder”Indicates priority related to other steps. Lowest runs first.
public uint SortOrder { get; set; }ShaderEffect
Section titled “ShaderEffect”The shader to use when drawing the surface.
public Effect ShaderEffect { get; set; }Methods
Section titled “Methods”SetData(object)
Section titled “SetData(object)”Not used.
public void SetData(object data)Parameters
Section titled “Parameters”data object
Reset()
Section titled “Reset()”Called when the step should reset any state or texture information.
public void Reset()Refresh(IRenderer, IScreenSurface, bool, bool)
Section titled “Refresh(IRenderer, IScreenSurface, bool, bool)”Called to redraw the render step if needed.
public 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.
public 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.
public 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.
Dispose()
Section titled “Dispose()”public void Dispose()