共用方式為


GraphicsDeviceManager.Dispose Method

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

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

Syntax

protected virtual void Dispose (
         bool disposing
)

Parameters

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

See Also

Reference

GraphicsDeviceManager Class
GraphicsDeviceManager Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista