Contents

format

The format of per-vertex data for the attribute.

Declaration

var format: MDLVertexFormat { get set }

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