---
title: format
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/lowlevelmeshresource/attribute/format
---

# format

The format of the vertex attribute.

## Declaration

```swift
var format: MTLVertexFormat { get set }
```

## Discussion

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.
