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.