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

# vertexFormat

Describes the format of the vertices in the vertex buffer.

## Declaration

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

## Discussion

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.
