Share via


Game.BeginDraw Method

Starts the drawing of a frame. This method is followed by calls to Draw and EndDraw.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework.Game (in microsoft.xna.framework.game.dll)

Syntax

protected virtual bool BeginDraw ()

Return Value

true if the frame should be drawn; false otherwise.

See Also

Reference

Game Class
Game Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP