Instance Property


The format of the attribute's data.


var format: MTLAttributeFormat { get set }

See Also

Defining Attribute Location

var bufferIndex: Int

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

var offset: Int

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

enum MTLAttributeFormat

Values that specify the organization of function attribute data.