Contents

tileFunction

The compute kernel or fragment function the pipeline calls.

Declaration

var tileFunction: any MTLFunction { get set }

Discussion

Kernel-based and fragment-based tile pipeline dispatches act as a barrier against previous draw commands 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