Contents

MTLNewComputePipelineStateWithReflectionCompletionHandler

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

Declaration

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

Parameters

  • computePipelineState:

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

  • reflection:

    An Mtlcomputepipelinereflection 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