---
title: vertexFormat
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtl4accelerationstructuremotiontrianglegeometrydescriptor/vertexformat
---

# vertexFormat

Defines the format of the vertices in the vertex buffers.

## Declaration

```swift
var vertexFormat: MTLAttributeFormat { get set }
```

## Discussion

Discussion All keyframes share the same vertex format. Defaults to MTLAttributeFormatFloat3, corresponding to three packed floating point numbers.
