Windows Dev Center

The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Game.UnloadGraphicsContent Method

Obsolete. Called when graphics resources need to be unloaded. Override this method to unload any game-specifc graphics resources.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework.Game (in

protected virtual void UnloadGraphicsContent (
         bool unloadAllContent


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

This method is obsolete in XNA Game Studio 2.0. Use UnloadContent to unload graphics resources.

Xbox 360, Windows XP SP2, Windows Vista

Community Additions

© 2015 Microsoft