Instance Property


The format of per-vertex data for the attribute.


var format: MDLVertexFormat { get set }


A MDLVertexFormat value describes the number of vector components for an attribute, as well as the data type of each component, and, for special packed formats, the layout of components.

See Also

Accessing Data for a Vertex Attribute

var dataStart: UnsafeMutableRawPointer

The offset, in bytes, from the start of the data to where vertex attribute information begins.

var stride: Int

The stride, in bytes, between vertex information for consecutive vertices in the data.