Instance Property


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


var offset: Int { 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 format: MTLAttributeFormat

The format of the attribute's data.

enum MTLAttributeFormat

Values that specify the organization of function attribute data.