Resource.Dispose Method

Language:

Immediately releases the unmanaged resources used by the Resource object.

Definition

Visual Basic MustOverride Public Sub Dispose()
C# public abstract void Dispose();
C++ ~Resource();
JScript public abstract function Dispose();

Applies To

BaseTexture, IndexBuffer, Surface, VertexBuffer

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center