Instance Property


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.


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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software