SpriteBatch.Dispose Method (Boolean)
Immediately releases the unmanaged resources used by this object.
Syntax
'Declaration
Protected Overrides Sub Dispose ( _
disposing As Boolean _
)
protected override void Dispose (
bool disposing
)
protected:
void Dispose(
bool disposing
) override
Parameters
- disposing
Type: Boolean
true to release both managed and unmanaged resources; false to release only unmanaged resources.
Requirements
Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)
See Also
Reference
SpriteBatch Class
SpriteBatch Members
Microsoft.Xna.Framework.Graphics Namespace
Platforms
Windows Phone