Class

MTLVertexAttributeDescriptorArray

An array of MTLVertexAttributeDescriptor objects.

Declaration

class MTLVertexAttributeDescriptorArray : NSObject

Overview

A MTLVertexAttributeDescriptorArray object is an array of objects that defines how vertex attribute data is formatted and assigned to an index in the attribute argument table. The methods of MTLVertexAttributeDescriptorArray set or retrieve the attribute formatting information from the array.

Topics

Accessing a Specified Vertex Attribute

subscript(Int) -> MTLVertexAttributeDescriptor!

Returns the state of the specified vertex attribute.

Relationships

Inherits From

Conforms To

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.

class MTLVertexDescriptor

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

class MTLVertexAttribute

An object that represents an attribute of a vertex function.

class MTLVertexAttributeDescriptor

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

class MTLVertexBufferLayoutDescriptor

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