Export (0) Print
Expand All

Game.LoadContent Method

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 (in microsoft.xna.framework.dll)

protected virtual void LoadContent ()

This method is called by Initialize, and any time the game content needs to be reloaded, such as when the DeviceReset event occurs. You should not access the GraphicsDevice until LoadContent is called.

Xbox 360, Windows XP SP2, Windows Vista

Community Additions

© 2014 Microsoft