Class FlippedPresenter
Namespace: ValveResourceFormat.Renderer
Assembly: Renderer.dll
Draws a single sample color target to the window with its rows reversed, since offscreen targets store the top row first. The copy is a draw because a blit into the window fails when the driver multisamples it with another sample count.
csharp
public sealed class FlippedPresenterInheritance
object ← FlippedPresenter
Constructors
FlippedPresenter(RendererContext)
Initializes the presenter.
csharp
public FlippedPresenter(RendererContext rendererContext)Parameters
rendererContext RendererContext
Renderer context for loading the shader and the empty vertex array.
Methods
Present(Framebuffer)
Draws the color of source to the window, unchanged.
csharp
public void Present(Framebuffer source)Parameters
source Framebuffer
Single sample framebuffer of the window size.

