Contents

offset

The location of an attribute in vertex data, determined by the byte offset from the start of the vertex data.

Declaration

var offset: Int { get set }

Discussion

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

See Also

Organizing the vertex attribute