Class

MTLAttributeDescriptorArray

An array of MTLAttributeDescriptor objects.

Declaration

class 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

subscript(Int) -> MTLAttributeDescriptor!

Returns the state of the specified attribute.

Relationships

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.

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