Instance Property


The index in the argument table for the buffer that contains the data for the attribute.


var bufferIndex: Int { get set }

See Also

Defining Attribute Location

var offset: Int

The offset of the data from the start of the buffer data.

var format: MTLAttributeFormat

The format of the attribute's data.

enum MTLAttributeFormat

Values that specify the organization of function attribute data.