Instance Property

stride

The stride, in bytes, between data for separate vertices in a vertex buffer.

Declaration

var stride: Int { get set }

Discussion

For example, if a vertex buffer contains interleaved data for two attributes, the stride is typically the sum of data sizes for those two attributes.