Instance Property

vertexAttributes

An array that describes the vertex input attributes to a vertex function.

Required.

Declaration

var vertexAttributes: [MTLVertexAttribute]? { get }

See Also

Retrieving Function Attributes

var stageInputAttributes: [MTLAttribute]?

An array that describes the input attributes to the function.

Required.

class MTLAttribute

An object that describes an attribute defined in the stage-in argument for a shader.

class MTLVertexAttribute

An object that represents an attribute of a vertex function.