Search Results for

    Show / Hide Table of Contents

    Class RenderObjectResourcesCache

    A pipeline state cache.

    Inheritance
    object
    RenderObjectResourcesCache
    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.Graphics
    Assembly: Evergine.Framework.dll
    Syntax
    public class RenderObjectResourcesCache : IDisposable

    Constructors

    RenderObjectResourcesCache(GraphicsContext)

    Initializes a new instance of the RenderObjectResourcesCache class.

    Declaration
    public RenderObjectResourcesCache(GraphicsContext graphicsContext)
    Parameters
    Type Name Description
    GraphicsContext graphicsContext

    Graphics context.

    Methods

    Dispose()

    Dispose of class and parent classes.

    Declaration
    public void Dispose()

    Dispose(bool)

    Dispose the object.

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

    Whether to dispose of unmanaged resources.

    ~RenderObjectResourcesCache()

    Finalizes an instance of the RenderObjectResourcesCache class.

    Declaration
    protected ~RenderObjectResourcesCache()

    GetMaterialSetters(RenderObjectInfo, DrawContext, RenderPass[], ref MaterialResourcesPerPass[], out MaterialResourceSetters)

    Get a pipeline sate.

    Declaration
    public void GetMaterialSetters(RenderObjectInfo renderMesh, DrawContext drawContext, RenderPass[] passes, ref MaterialResourcesCacheEntry.MaterialResourcesPerPass[] passResources, out MaterialResourceSetters materialSetters)
    Parameters
    Type Name Description
    RenderObjectInfo renderMesh

    The render mesh.

    DrawContext drawContext

    The draw context.

    RenderPass[] passes

    The array of passes.

    MaterialResourcesPerPass[] passResources

    The material resources by pass.

    MaterialResourceSetters materialSetters

    The material resource setters.

    Implements

    IDisposable

    Extension Methods

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