Contents

MTLNewRenderPipelineStateWithReflectionCompletionHandler

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

Declaration

typealias MTLNewRenderPipelineStateWithReflectionCompletionHandler = ((any MTLRenderPipelineState)?, MTLRenderPipelineReflection?, (any Error)?) -> Void

Parameters

  • renderPipelineState:

    An Mtlrenderpipelinestate instance if the method successfully compiles the library without any errors; otherwise nil.

  • reflection:

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

  • error:

    If an error occurs, an error information instance; otherwise nil.

See Also

Supporting types