Contents

vertexFormat

Describes the format of the vertices in the vertex buffer.

Declaration

var vertexFormat: MTLAttributeFormat { get set }

Discussion

This property controls the format of the position attribute of the vertices the vertexBuffer references.

The format defaults to MTLAttributeFormatFloat3, corresponding to three packed floating point numbers.