Instance Property

layouts

An array of state data that describes how data are fetched by a vertex shader function when rendering primitives.

Declaration

See Also

Accessing the Vertex Buffer Layouts and Vertex Attributes

var attributes: MTLVertexAttributeDescriptorArray

An array of state data that describes how vertex attribute data is stored in memory and is mapped to arguments for a vertex shader function.