Instance Property

tileFunction

The kernel or fragment function that serves as the tile shader for this pipeline.

Declaration

var tileFunction: MTLFunction { get set }

Discussion

Both kernel-based and fragment-based tile pipeline dispatches act as a barrier against previous draws and other dispatches. Kernel-based pipelines wait until all prior access to the tile completes. Fragment-based pipelines wait only until all prior access to the fragment's location completes.

See Also

Specifying Graphics Functions and Associated Data

var tileBuffers: MTLPipelineBufferDescriptorArray

An array that contains the buffer mutability options for a render pipeline's tile function.

class MTLPipelineBufferDescriptor

An object that contains the mutability options for buffers used in a render or compute pass.