Contents

makeRenderPipelineState(tileDescriptor:options:reflection:)

Synchronously creates a tile shader’s render pipeline state and reflection information.

Declaration

func makeRenderPipelineState(tileDescriptor descriptor: MTLTileRenderPipelineDescriptor, options: MTLPipelineOption, reflection: AutoreleasingUnsafeMutablePointer<MTLAutoreleasedRenderPipelineReflection?>?) throws -> any MTLRenderPipelineState

Parameters

Return Value

A new MTLRenderPipelineState instance if the method completes successfully; otherwise Swift throws an error and Objective-C returns nil.

See Also

Creating tile render pipeline states