An array of MTLVertexBufferLayoutDescriptor objects.


@interface MTLVertexBufferLayoutDescriptorArray : NSObject


A MTLVertexBufferLayoutDescriptorArray holds an array of vertex buffer layout states. The methods of MTLVertexBufferLayoutDescriptorArray set the vertex buffer layout state in the array or retrieve the state from the array.


Accessing a Specified Vertex Buffer Layout

- objectAtIndexedSubscript:

Returns the state of the specified vertex buffer layout.

- setObject:atIndexedSubscript:

Sets the state of the specified vertex buffer layout.


Inherits From

See Also

Vertex Data

Viewing Your Meshes with the Geometry Viewer

Find problems in your app's vertex function by pausing your app at any time, and viewing the current geometry from an angle you choose.


An object that describes how vertex data is organized and mapped to a vertex function.


An object that represents an attribute of a vertex function.


An object that determines how attribute data is stored in memory and how it is mapped to the arguments of a vertex function.


An object that configures how vertex data and attributes are fetched by a vertex function.

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