Search Results for

    Show / Hide Table of Contents

    Class GraphicsResource

    A resource interface provides common actions on all resources.

    Inheritance
    object
    GraphicsResource
    Buffer
    QueryHeap
    BottomLevelAS
    TopLevelAS
    SamplerState
    Shader
    Texture
    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.Common.Graphics
    Assembly: Evergine.Common.dll
    Syntax
    public abstract class GraphicsResource : IDisposable

    Constructors

    GraphicsResource(GraphicsContext)

    Initializes a new instance of the GraphicsResource class.

    Declaration
    protected GraphicsResource(GraphicsContext context)
    Parameters
    Type Name Description
    GraphicsContext context

    The device context.

    Fields

    Context

    The device context reference.

    Declaration
    public GraphicsContext Context
    Field Value
    Type Description
    GraphicsContext

    disposed

    Holds if the instance has been disposed.

    Declaration
    protected bool disposed
    Field Value
    Type Description
    bool

    Properties

    Disposed

    Gets a value indicating whether the graphic resource has been disposed.

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

    NativePointer

    Gets the native pointer.

    Declaration
    public abstract IntPtr NativePointer { get; }
    Property Value
    Type Description
    IntPtr

    Methods

    Dispose()

    Dispose this instance.

    Declaration
    public abstract void Dispose()

    Implements

    IDisposable

    Extension Methods

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