Class

MTLVertexBufferLayoutDescriptorArray

An array of MTLVertexBufferLayoutDescriptor objects.

Declaration

@interface MTLVertexBufferLayoutDescriptorArray : NSObject

Overview

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.

Topics

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.

Relationships

Inherits From

See Also

Specifying Buffer Layouts and Fetch Behavior

vertexDescriptor

The organization of vertex data in an attribute’s argument table.

MTLVertexDescriptor

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

MTLVertexAttributeDescriptor

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

MTLVertexBufferLayoutDescriptor

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