Search Results for

    Show / Hide Table of Contents

    Class DisposableObject

    Abstract class that represents an object that could be disposed. Implements the IDisposable pattern, exposing a Destroy() method.

    Inheritance
    object
    DisposableObject
    GltfImporterContext
    BulletContactManager
    BulletPhysicBody3D
    Application
    BaseMaterial
    BufferContent
    CBufferCollectionUpdater
    CBufferCollectionUpdaterEffectEntry
    ComputeDepthBounds
    DrawContext
    DrawContextEffectResources
    DrawContextMaterialResources
    DrawContextResources
    ConstantBufferPool
    Effect
    EngineShaderParameters
    Font
    MaterialPassResources
    MaterialPassResourceSet
    MaterialResourcesCacheEntry
    ReflectionProbe
    RenderFeature
    RenderObjectInfo
    RenderPath
    RenderPipeline
    RenderToFrameBuffer
    ShadowMapProvider
    SimplePool<T>
    EntityManager.EntityTagCollection
    ParticleSystem
    PhysicsDebugDraw3D
    XRFeaturePoints
    XRSpatialInputManager
    XRLightEstimation
    XRPassthrough
    XRPassthroughLayer
    XRPassthroughSurfaceMesh
    XRRenderableModels
    XRTrackableItems
    XRInputTracking
    XRTrackedDevice
    OpenVRMirrorTextureRenderer
    VuforiaDataSet
    Implements
    IDisposable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Evergine.Framework
    Assembly: Evergine.Framework.dll
    Syntax
    public abstract class DisposableObject : IDisposable

    Properties

    Disposed

    Gets a value indicating whether this object is disposed.

    Declaration
    public bool Disposed { get; }
    Property Value
    Type Description
    bool

    Methods

    Destroy()

    Destroy all resources of this instance.

    Declaration
    protected abstract void Destroy()

    Dispose()

    Public implementation of Dispose pattern callable by consumers.

    Declaration
    public void Dispose()

    Dispose(bool)

    Protected implementation of Dispose pattern.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing

    Dispose native elements.

    ~DisposableObject()

    Finalizes an instance of the DisposableObject class.

    Declaration
    protected ~DisposableObject()

    Implements

    IDisposable

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX