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

# format

The format of the vertex attribute.

## Declaration

```swift
var format: MTLVertexFormat
```

## Discussion

Discussion When reading from a geometry modifier or surface shader, the value converts to its runtime representation using Metal’s standard rules. For details about Metal’s standard rules, see format.

## See Also

### Describing an attribute

- [offset](realitykit/lowlevelmesh/attribute/offset.md)
- [layoutIndex](realitykit/lowlevelmesh/attribute/layoutindex.md)
- [semantic](realitykit/lowlevelmesh/attribute/semantic.md)
