makeRenderPipelineState(tileDescriptor:options:completionHandler:)
Asynchronously creates a tile shader’s render pipeline state and reflection information.
Declaration
func makeRenderPipelineState(tileDescriptor descriptor: MTLTileRenderPipelineDescriptor, options: MTLPipelineOption, completionHandler: @escaping @Sendable ((any MTLRenderPipelineState)?, MTLRenderPipelineReflection?, (any Error)?) -> Void)func makeRenderPipelineState(tileDescriptor descriptor: MTLTileRenderPipelineDescriptor, options: MTLPipelineOption) async throws -> (any MTLRenderPipelineState, MTLRenderPipelineReflection?)Parameters
- descriptor:
An Mtltilerenderpipelinedescriptor instance.
- options:
An Mtlpipelineoption instance that represents the reflection information you want the method to generate.
- completionHandler:
A Swift closure or an Objective-C block the method calls when it finishes creating the render pipeline state.