GraphicsDeviceManager.OnDeviceDisposing Method
Called when a device is being disposed. Raises the DeviceDisposing event.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework.Game (in microsoft.xna.framework.game.dll)
Syntax
protected virtual void OnDeviceDisposing (
Object sender,
EventArgs args
)
Parameters
- sender
The GraphicsDeviceManager. - args
Arguments for the DeviceDisposing event.
See Also
Reference
GraphicsDeviceManager Class
GraphicsDeviceManager Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista