MTLFunctionType

The type of a top-level Metal Shading Language (MSL) function.

Values

ValueMeaning
Vertex1

A vertex function you can use in a render pipeline state object.

Fragment2

A fragment function you can use in a render pipeline state object.

Kernel3

A kernel you can use in a compute pipeline state object.

Intersection6

A function you can use in an intersection function table.

Visible5

A function you can use in a visible function table.

Mesh7
Object8

Meta