Contents

makeComputePipelineState(descriptor:dynamicLinkingDescriptor:compilerTaskOptions:)

Creates a new compute pipeline state object synchronously.

Declaration

func makeComputePipelineState(descriptor: MTL4ComputePipelineDescriptor, dynamicLinkingDescriptor: MTL4PipelineStageDynamicLinkingDescriptor? = nil, compilerTaskOptions: MTL4CompilerTaskOptions? = nil) throws -> any MTLComputePipelineState

Parameters

  • descriptor:

    A compute pipeline state descriptor describing the pipeline this compiler creates.

  • compilerTaskOptions:

    A description of the compilation process itself, providing parameters that influence execution of the compilation process.

Return Value

A new compute pipeline state object upon success, otherwise this method throws.