Class

MTLAttributeDescriptorArray

An array of MTLAttributeDescriptor objects.

Declaration

@interface MTLAttributeDescriptorArray : NSObject

Overview

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.

Topics

Accessing Attribute State Objects

- objectAtIndexedSubscript:

Returns the state of the specified attribute.

- setObject:atIndexedSubscript:

Sets state for the specified attribute.

Relationships

Inherits From

See Also

Specifying Buffer Layouts and Fetch Behavior

stageInputDescriptor

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

MTLStageInputOutputDescriptor

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

MTLAttributeDescriptor

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

MTLBufferLayoutDescriptor

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