Enumeration

MTLVertexStepFunction

The frequency with which the vertex function or post-tessellation vertex function fetches attribute data.

Declaration

enum MTLVertexStepFunction : UInt

Topics

Constants

case constant

The vertex function fetches attribute data once and uses that data for every vertex.

case perVertex

The vertex function fetches and uses new attribute data for every vertex.

case perInstance

The vertex function regularly fetches new attribute data for a number of instances that is determined by stepRate.

case perPatch

The post-tessellation vertex function fetches data based on the patch index of the patch.

case perPatchControlPoint

The post-tessellation vertex function fetches data based on the control-point indices associated with the patch.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software