次の方法で共有


SpriteBatch.Dispose Method (Boolean)

Immediately releases the unmanaged resources used by this object.

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

Syntax

protected virtual void Dispose (
         bool disposing
)

Parameters

  • disposing
    true to release both managed and unmanaged resources; false to release only unmanaged resources.

See Also

Reference

SpriteBatch Class
SpriteBatch Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista