Renders the graphics screens to the back buffer.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.0.0.0 (1.0.0.9509)

Syntax

C#
public bool Render(
	bool forceRendering
)
Visual Basic
Public Function Render ( _
	forceRendering As Boolean _
) As Boolean
Visual C++
public:
bool Render(
	bool forceRendering
)

Parameters

forceRendering
Type: System..::..Boolean
If set to trueTruetruetrue (True in Visual Basic) the screens are rendered even if the game window is currently hidden. If set to falseFalsefalsefalse (False in Visual Basic), the rendering is skipped if the game window is currently not visible.

Return Value

trueTruetruetrue (True in Visual Basic) if the graphics screens were rendered; falseFalsefalsefalse (False in Visual Basic) if rendering was skipped because the game window is currently not visible.

Remarks

The graphics screens are rendered to the back buffer using the viewport which is currently set in the graphics device.

See Also