Contents

functionType

The shader function’s type.

Declaration

var functionType: MTLFunctionType { get }

Discussion

A function’s type determines what kind of pipeline state objects you can create from it and whether you can use it as a callable function in a function table.

See Also

Identifying shader functions