Resource.Dispose() Method (Microsoft.DirectX.Direct3D)
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