Click or drag to resize
AB4D logo

DisposeHelper Class

DisposeHelper class provides DisposeAndNullify methods that can help dispose and nullify a disposable object.
Inheritance Hierarchy
SystemObject
  Ab3d.DirectXDisposeHelper

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public static class DisposeHelper

The DisposeHelper type exposes the following members.

Methods
 NameDescription
Public methodStatic memberDisposeAndNullify(BlendState) DisposeAndNullify first checks if disposableObject is not null and in that case disposed the object and sets it to null.
Public methodStatic memberDisposeAndNullify(Buffer) DisposeAndNullify first checks if disposableObject is not null and in that case disposed the object and sets it to null.
Public methodStatic memberDisposeAndNullify(DepthStencilState) DisposeAndNullify first checks if disposableObject is not null and in that case disposed the object and sets it to null.
Public methodStatic memberDisposeAndNullify(DepthStencilView) DisposeAndNullify first checks if disposableObject is not null and in that case disposed the object and sets it to null.
Public methodStatic memberDisposeAndNullify(Effect) DisposeAndNullify first checks if disposableObject is not null and in that case disposed the object and sets it to null.
Public methodStatic memberDisposeAndNullify(IDisposable) DisposeAndNullify first checks if disposableObject is not null and in that case disposed the object and sets it to null.
Public methodStatic memberDisposeAndNullify(MeshObjectNode) DisposeAndNullify first checks if disposableObject is not null and in that case disposed the object and sets it to null.
Public methodStatic memberDisposeAndNullify(RasterizerState) DisposeAndNullify first checks if disposableObject is not null and in that case disposed the object and sets it to null.
Public methodStatic memberDisposeAndNullify(RenderTargetView) DisposeAndNullify first checks if disposableObject is not null and in that case disposed the object and sets it to null.
Public methodStatic memberDisposeAndNullify(SamplerState) DisposeAndNullify first checks if disposableObject is not null and in that case disposed the object and sets it to null.
Public methodStatic memberDisposeAndNullify(ShaderResourceView) DisposeAndNullify first checks if disposableObject is not null and in that case disposed the object and sets it to null.
Public methodStatic memberDisposeAndNullify(SharedDXResourceWrapperGeometryShader) DisposeAndNullify first checks if disposableObject is not null and in that case disposed the object and sets it to null.
Public methodStatic memberDisposeAndNullify(SharedDXResourceWrapperInputLayout) DisposeAndNullify first checks if disposableObject is not null and in that case disposed the object and sets it to null.
Public methodStatic memberDisposeAndNullify(SharedDXResourceWrapperPixelShader) DisposeAndNullify first checks if disposableObject is not null and in that case disposed the object and sets it to null.
Public methodStatic memberDisposeAndNullify(SharedDXResourceWrapperVertexShader) DisposeAndNullify first checks if disposableObject is not null and in that case disposed the object and sets it to null.
Public methodStatic memberDisposeAndNullify(SimpleMeshPositionNormalTexture) DisposeAndNullify first checks if disposableObject is not null and in that case disposed the object and sets it to null.
Public methodStatic memberDisposeAndNullify(Texture2D) DisposeAndNullify first checks if disposableObject is not null and in that case disposed the object and sets it to null.
Top
See Also