Search Results for

    Show / Hide Table of Contents

    Class GLGraphicsPipelineStateCache

    The OpenGL cache implementation for graphics pipeline state.

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

    Constructors

    GLGraphicsPipelineStateCache(GLGraphicsContext)

    Initializes a new instance of the GLGraphicsPipelineStateCache class.

    Declaration
    public GLGraphicsPipelineStateCache(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.

    GetNativeBlendState(ref BlendStateDescription)

    Gets a native blendState from cache.

    Declaration
    public GLBlendStateDescription GetNativeBlendState(ref BlendStateDescription description)
    Parameters
    Type Name Description
    BlendStateDescription description

    The blendState description.

    Returns
    Type Description
    GLBlendStateDescription

    The native blendState.

    GetNativeDepthStencilState(ref DepthStencilStateDescription)

    Gets a native depthStencilState from cache.

    Declaration
    public GLDepthStencilStateDescription GetNativeDepthStencilState(ref DepthStencilStateDescription description)
    Parameters
    Type Name Description
    DepthStencilStateDescription description

    The depthStencil description.

    Returns
    Type Description
    GLDepthStencilStateDescription

    the native depthStencilState.

    GetNativeProgram(GraphicsShaderStateDescription)

    Gets a native GLProgram from cache.

    Declaration
    public GLProgram GetNativeProgram(GraphicsShaderStateDescription shaderDescription)
    Parameters
    Type Name Description
    GraphicsShaderStateDescription shaderDescription

    The shader description.

    Returns
    Type Description
    GLProgram

    Return OpenGL program.

    GetNativeRasterizerState(ref RasterizerStateDescription)

    Gets a native rasterizerState from cache.

    Declaration
    public GLRasterizerStateDescription GetNativeRasterizerState(ref RasterizerStateDescription description)
    Parameters
    Type Name Description
    RasterizerStateDescription description

    The rasterizerState description.

    Returns
    Type Description
    GLRasterizerStateDescription

    The native rasterizerState.

    Extension Methods

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