Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Game.LoadGraphicsContent Method

Obsolete. Called when graphics resources need to be loaded. Override this method to load any game-specific graphics resources.

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

protected virtual void LoadGraphicsContent (
         bool loadAllContent
)

Parameters

loadAllContent
true if all graphics resources need to be loaded; false if only manual resources need to be loaded.

Bb197847.note(en-us,XNAGameStudio.31).gifNote
This method is obsolete in XNA Game Studio 2.0. Override LoadContent to load graphics resources.

This method is called by Initialize, as well as any time the game content needs to be reloaded, such as when the DeviceReset event occurs.

Xbox 360, Windows XP SP2, Windows Vista, Zune

Community Additions

ADD
Show:
© 2015 Microsoft