Instance Property

name

The name of the attribute.

Declaration

var name: String { get }

See Also

Reading an Attribute's Properties

var attributeIndex: Int

The index of the attribute, as declared in Metal shader source code.

var attributeType: MTLDataType

The data type for the attribute, as declared in Metal shader source code.

var isActive: Bool

A Boolean value that indicates whether the attribute is active.

var isPatchControlPointData: Bool

A Boolean value that indicates whether the attribute represents control point data.

var isPatchData: Bool

A Boolean value that indicates whether the attribute represents tessellation patch data.