GraphicsDeviceManager.Dispose Method

Releases the unmanaged resources used by the GraphicsDeviceManager and optionally releases the managed resources.

Syntax

'Declaration
Protected Overridable Sub Dispose ( _
         disposing As Boolean _
)
protected virtual void Dispose (
         bool disposing
)
protected:
virtual void Dispose(
         bool disposing
)

Parameters

  • disposing
    Type: Boolean
    true to release both automatic and manual resources; false to release only manual resources.

Requirements

Namespace: Microsoft.Xna.Framework

Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

See Also

Reference

GraphicsDeviceManager Class
GraphicsDeviceManager Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone