Search Results for

    Show / Hide Table of Contents

    Class MTLComputePipelineState

    This class represents a native pipeline state on Metal.

    Inheritance
    object
    PipelineState
    ComputePipelineState
    MTLComputePipelineState
    Inherited Members
    ComputePipelineState.Description
    Namespace: Evergine.Metal
    Assembly: Evergine.Metal.dll
    Syntax
    public class MTLComputePipelineState : ComputePipelineState

    Constructors

    MTLComputePipelineState(MTLGraphicsContext, ref ComputePipelineDescription)

    Initializes a new instance of the MTLComputePipelineState class.

    Declaration
    public MTLComputePipelineState(MTLGraphicsContext context, ref ComputePipelineDescription description)
    Parameters
    Type Name Description
    MTLGraphicsContext context

    The graphics context.

    ComputePipelineDescription description

    The compute pipeline state description.

    Fields

    ThreadsPerThreadgroup

    The thread group dimensions.

    Declaration
    public MTLSize ThreadsPerThreadgroup
    Field Value
    Type Description
    MTLSize

    Properties

    Name

    Gets or sets a string identifying this instance. Can be used in graphics debugging tools.

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

    Methods

    Apply(MTLCommandBuffer)

    Applies only changes compared with the previous pipelineState.

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

    The command buffer where this pipeline is applied.

    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