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.

DrawableGameComponent.UnloadGraphicsContent Method

Obsolete. Called when graphics resources should be unloaded. Override this method to handle component-specific 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 should be unloaded; false if only manual resources should be unloaded.

Bb199606.note(en-US,XNAGameStudio.20).gifNote
This method is obsolete in XNA Game Studio 2.0. Override LoadContent to unload graphics resources.

Xbox 360, Windows XP SP2, Windows Vista

Community Additions

Show:
© 2015 Microsoft