Contents

makeRenderPipelineState(tileDescriptor:options:)

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

Declaration

func makeRenderPipelineState(tileDescriptor: MTLTileRenderPipelineDescriptor, options: MTLPipelineOption) throws -> (any MTLRenderPipelineState, MTLRenderPipelineReflection?)

Parameters

Return Value

A tuple with a new MTLTileRenderPipelineDescriptor instance and an MTLRenderPipelineReflection optional instance if the method completes successfully; otherwise Swift throws an error and Objective-C returns nil.

See Also

Creating tile render pipeline states