Contents

vertexDescriptor

A Model I/O vertex descriptor specifying the data layout in the vertex buffers.

Declaration

var vertexDescriptor: MDLVertexDescriptor { get }

Discussion

This is a convenience property. The MTKMesh class does not use this descriptor, but your application may use this object to determine rendering state or create a MTLVertexDescriptor object to build a MTLRenderPipelineState object capable of interpreting the data in vertexBuffers.

See Also

Vertex Properties