Contents

stride

The number of bytes between the first byte of two consecutive vertices in a buffer.

Declaration

var stride: Int { get set }

Discussion

Check the Metal feature set tables (PDF) for potential alignment restrictions.

See Also

Organizing the vertex buffer layout