Texture.Dispose Method

Immediately releases the unmanaged resources used by this object.

Overload List

Name Description
Texture.Dispose (Boolean) Releases the unmanaged resources used by this object and optionally releases the managed resources.
Texture.Dispose () (Inherited from GraphicsResource.)

See Also

Reference

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