Contents

vertexBufferOffset

The offset, in bytes, for the first vertex in the vertex buffer.

Declaration

var vertexBufferOffset: Int { get set }

Discussion

The offset needs to be a multiple of the vertex stride. Check the Metal feature set tables (PDF) for potential alignment restrictions. The default value is 0.

See Also

Configuring vertex data