Instance Property

attributes

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.

Declaration

var attributes: MTLVertexAttributeDescriptorArray { get }

See Also

Accessing the Vertex Buffer Layouts and Vertex Attributes

var layouts: MTLVertexBufferLayoutDescriptorArray

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