An array of MTLAttributeDescriptor objects.


class MTLAttributeDescriptorArray : NSObject


A Metal attribute descriptor array defines how attribute data is formatted and assigned to indicies in the attribute argument table.

These methods set or retrieve the attribute formatting information from the array.


Accessing Attribute State Objects

subscript(Int) -> MTLAttributeDescriptor!

Returns the state of the specified attribute.


Inherits From

Conforms To

See Also

Specifying Buffer Layouts and Fetch Behavior

var stageInputDescriptor: MTLStageInputOutputDescriptor?

The organization of input and output data for the compute function.

class MTLStageInputOutputDescriptor

An object that describes the input and output data of a function.

class MTLAttributeDescriptor

An object that describes an argument's format and where its data is stored in memory.

class MTLBufferLayoutDescriptor

An object that configures how input data for an attribute is fetched by a function.