Class

MTLStageInputOutputDescriptor

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

Declaration

@interface MTLStageInputOutputDescriptor : NSObject

Topics

Creating a Input/Output Descriptor

Describing Argument Layouts

attributes

An array that describes where and how to fetch data for the function.

layouts

An array that describes how data is fetched for the function.

Declaring Index Buffers for Indirect Compute Commands

indexBufferIndex

The location of the index buffer for a compute function using indexed thread addressing.

indexType

The data type of the indices stored in the index buffer.

Resetting the Descriptor

- reset

Resets the default state for the descriptor.

Relationships

Inherits From

Conforms To

See Also

Specifying Buffer Layouts and Fetch Behavior

stageInputDescriptor

The organization of input and output data for the compute 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.