Contents

format

The format of the vertex attribute.

Declaration

var format: MTLVertexFormat { get set }

Discussion

When reading from a geometry modifier or surface shader, the value converts to its runtime representation using Metal’s standard rules. See MTLVertexAttributeDescriptor.format for details.