Instance Property


The organization of vertex data in an attribute’s argument table.


@NSCopying var vertexDescriptor: MTLVertexDescriptor? { get set }


A MTLVertexDescriptor object is used to describe the organization of per-vertex input structs passed in an argument of a vertex shader function.

See Also

Specifying Buffer Layouts and Fetch Behavior

class MTLVertexDescriptor

An object that describes how vertex data is organized and mapped to a vertex function.

class MTLVertexAttributeDescriptor

An object that determines how attribute data is stored in memory and how it is mapped to the arguments of a vertex function.

class MTLVertexBufferLayoutDescriptor

An object that configures how vertex data and attributes are fetched by a vertex function.