Contents

vertexDescriptor

Configures an optional vertex descriptor for the vertex input.

Declaration

@NSCopying var vertexDescriptor: MTLVertexDescriptor? { get set }

Discussion

A vertex descriptor specifies the layout of your vertex data, allowing your vertex shaders to access the content in your vertex arrays via the [[stage_in]] attribute in Metal Shading Language.