Instance Property

stride

The distance, in bytes, between the attribute data of two vertices in the buffer.

Declaration

var stride: Int { get set }

Discussion

The stride must be a multiple of 4 bytes. The default value is 0.

See Also

Organizing the Vertex Buffer Layout

var stepFunction: MTLVertexStepFunction

The circumstances under which the vertex and its attributes are presented to the vertex function.

var stepRate: Int

The interval at which the vertex and its attributes are presented to the vertex function.

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