Click or drag to resize
DigitalRuneDelegateGraphicsScreenOnRender Method
Called when Render(RenderContext) is called.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
protected override void OnRender(
	RenderContext context
)

Parameters

context
Type: DigitalRune.GraphicsRenderContext
The render context.
Remarks

This method implements the rendering pipeline of the graphics screen.

This method is automatically called by Render(RenderContext), but only if the screen is visible (see IsVisible). Derived classes can override this method to draw game content. context is guaranteed to be not .

If the previous graphics screen has been rendered into an off-screen render target (see property RenderPreviousScreensToTexture), then the results is available as the SourceTexture in the RenderContext.

See Also