Table of Contents

Interface IGraphicsDeviceManager

Namespace
Microsoft.Xna.Framework
Assembly
MonoGame.Framework.dll

Used by the platform code to control the graphics device.

public interface IGraphicsDeviceManager

Methods

BeginDraw()

Called at the start of rendering a frame.

bool BeginDraw()

Returns

bool

Returns true if the frame should be rendered.

CreateDevice()

Called to create the graphics device.

void CreateDevice()

Remarks

Does nothing if the graphics device is already created.

EndDraw()

Called after rendering to present the frame to the screen.

void EndDraw()