Contents

MTLNewComputePipelineStateCompletionHandler

A completion handler signature a method calls when it finishes creating a compute pipeline.

Declaration

typealias MTLNewComputePipelineStateCompletionHandler = ((any MTLComputePipelineState)?, (any Error)?) -> Void

Parameters

  • computePipelineState:

    An Mtlcomputepipelinestate instance if the method completes successfully; otherwise nil.

  • error:

    On return, if an error occurs, a pointer to an error information instance; otherwise nil.

See Also

Supporting types