Contents

vertexStride

The stride, in bytes, between vertices in the vertex buffer.

Declaration

var vertexStride: Int { get set }

Discussion

The stride needs to be at least 12 bytes and needs to be a multiple of 4 bytes. The default value is 12 bytes.

See Also

Configuring vertex data