Windows Dev Center

Information
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 microsoft.xna.framework.game.dll)

protected virtual void UnloadGraphicsContent (
         bool unloadAllContent
)

Parameters

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

Bb199607.note(en-US,XNAGameStudio.20).gifNote
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

Show:
© 2015 Microsoft