Instance Property

format

The format of per-vertex data for the attribute.

Declaration

@property(nonatomic) MDLVertexFormat format;

Discussion

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

dataStart

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

stride

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