Contents

MTLAttributeDescriptor

A descriptor of an argument’s format and where its data is in memory.

Declaration

class MTLAttributeDescriptor

Overview

Attribute descriptors are part of an MTLVertexDescriptor or MTLStageInputOutputDescriptor instance to provide layout information about a function’s arguments. Each descriptor is for a single argument, containing information about the attached data, offset and stride, and data type.

Topics

Defining attribute location

See Also

Configuring compute pass inputs