Instance Method

makeRenderPipelineState(tileDescriptor:options:completionHandler:)

Asynchronously creates a render pipeline state object, and associated reflection information, for a tile shader.

Required.

Declaration

func makeRenderPipelineState(tileDescriptor descriptor: MTLTileRenderPipelineDescriptor, options: MTLPipelineOption, completionHandler: @escaping MTLNewRenderPipelineStateWithReflectionCompletionHandler)

Parameters

descriptor

A descriptor object that contains the tile function.

options

The type of reflection information to return.

completionHandler

A block of code that's invoked when the logic to create the render pipeline state object is completed.

Topics

Pipeline Options

struct MTLPipelineOption

The compilation options that determine which argument information to provide.

Completion Handler

typealias MTLNewRenderPipelineStateWithReflectionCompletionHandler

A block of code that is invoked when the logic to create a MTLRenderPipelineState object is completed.