An object that describes an argument's format and where its data is stored in memory.
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+Beta
- tvOS 10.0+
Attribute descriptors are used as part of a
MTLStageInputOutputDescriptor to provide organization information about a function's arguments. Each descriptor describes a single function argument, including which buffer to read data from, where the data is stored in that buffer, and what kind of data is stored there.
Defining Attribute Location
var bufferIndex: Int
The index in the argument table for the buffer that contains the data for the attribute.
Specifying Buffer Layouts and Fetch Behavior
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