Texture.Dispose Method (Microsoft.Xna.Framework.Graphics)

The method that derived classes should override to implement disposing of managed and native resources.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: MonoGame.Framework (MonoGame.Framework.dll
  • C#
  • VB
  • F#
protected void Dispose(
	bool disposing

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.


Type: System.Boolean
True if managed objects should be disposed.
Native resources should always be released regardless of the value of the disposing parameter.
Supported in:

 Windows DirectX Desktop
 Linux Desktop
 Windows OpenGL Desktop