Contents

vertexDescriptor

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

Declaration

@NSCopying var vertexDescriptor: MTLVertexDescriptor? { get set }

Discussion

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