Contents

privateFunctions

An array of function objects to link to the new function, without exporting the functions publicly.

Declaration

var privateFunctions: [any MTLFunction]? { get set }

Discussion

The pipeline doesn’t export these functions as MTLFunctionHandle instances because the Metal device doesn’t need to support function pointers to link private functions.

See Also

Specifying related functions