Search Results for

    Show / Hide Table of Contents

    Class MTLGraphicsPipelineState

    This class represents a native pipeline state in Metal.

    Inheritance
    object
    PipelineState
    GraphicsPipelineState
    MTLGraphicsPipelineState
    Inherited Members
    GraphicsPipelineState.Description
    GraphicsPipelineState.InvalidatedViewport
    Namespace: Evergine.Metal
    Assembly: Evergine.Metal.dll
    Syntax
    public class MTLGraphicsPipelineState : GraphicsPipelineState

    Constructors

    MTLGraphicsPipelineState(MTLGraphicsContext, ref GraphicsPipelineDescription)

    Initializes a new instance of the MTLGraphicsPipelineState class.

    Declaration
    public MTLGraphicsPipelineState(MTLGraphicsContext context, ref GraphicsPipelineDescription description)
    Parameters
    Type Name Description
    MTLGraphicsContext context

    The graphics context.

    GraphicsPipelineDescription description

    The graphics pipeline state description.

    Properties

    Name

    Gets or sets a string identifying this instance. It can be used in graphics debugger tools.

    Declaration
    public override string Name { get; set; }
    Property Value
    Type Description
    string
    Overrides
    GraphicsPipelineState.Name

    Methods

    Apply(MTLCommandBuffer, bool)

    Apply only changes compared with the previous pipelineState.

    Declaration
    public void Apply(MTLCommandBuffer commandBuffer, bool hasDepthStencil)
    Parameters
    Type Name Description
    MTLCommandBuffer commandBuffer

    The commandBuffer where this pipeline is applied.

    bool hasDepthStencil

    Whether depth and stencil are active.

    Dispose()

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

    Declaration
    public override void Dispose()
    Overrides
    PipelineState.Dispose()

    Extension Methods

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