Search Results for

    Show / Hide Table of Contents

    Class GLComputePipelineStateCache

    OpenGL cache implementation for ComputePipeline.

    Inheritance
    object
    GLComputePipelineStateCache
    Namespace: Evergine.OpenGL
    Assembly: Evergine.OpenGL.dll
    Syntax
    public class GLComputePipelineStateCache

    Constructors

    GLComputePipelineStateCache(GLGraphicsContext)

    Initializes a new instance of the GLComputePipelineStateCache class.

    Declaration
    public GLComputePipelineStateCache(GLGraphicsContext graphicsContext)
    Parameters
    Type Name Description
    GLGraphicsContext graphicsContext

    Graphics Context.

    Fields

    glGraphicsContext

    OpenGL Graphics Context.

    Declaration
    protected GLGraphicsContext glGraphicsContext
    Field Value
    Type Description
    GLGraphicsContext

    Methods

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public void Dispose()

    Dispose(bool)

    Releases unmanaged and - optionally - managed resources.

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

    true to release both managed and unmanaged resources; false to release only unmanaged resources.

    GetNativeProgram(ComputeShaderStateDescription)

    Gets a native GLProgram from cache.

    Declaration
    public GLProgram GetNativeProgram(ComputeShaderStateDescription computeShaderStateDescription)
    Parameters
    Type Name Description
    ComputeShaderStateDescription computeShaderStateDescription

    The shader description.

    Returns
    Type Description
    GLProgram

    Return OpenGL program.

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX