Search Results for

    Show / Hide Table of Contents

    Class MTLGraphicsPipelineState

    This class represents a native pipelineState on Metal.

    Inheritance
    object
    PipelineState
    GraphicsPipelineState
    MTLGraphicsPipelineState
    Implements
    IDisposable
    Inherited Members
    GraphicsPipelineState.Description
    GraphicsPipelineState.InvalidatedViewport
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Evergine.Metal
    Assembly: Evergine.Metal.dll
    Syntax
    public class MTLGraphicsPipelineState : GraphicsPipelineState, IDisposable

    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. Can be used in graphics debuggers tools.

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

    Methods

    Apply(MTLCommandBuffer, bool)

    Apply only changes compare with the previous pipelineState.

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

    The commandBuffer where apply this pipeline.

    bool hasDepthStencil

    Whether depth and stencil is ative.

    Dispose()

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

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

    Implements

    IDisposable

    Extension Methods

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