---
title: format
framework: modelio
role: symbol
role_heading: Instance Property
path: modelio/mdlvertexattribute/format
---

# format

The format of per-vertex data for the attribute.

## Declaration

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

## Discussion

Discussion A MDLVertexFormat value describes the number of vector components for an attribute, as well as the data type of each component, and, for special packed formats, the layout of components.

## See Also

### Inspecting a Vertex Attribute

- [name](modelio/mdlvertexattribute/name.md)
- [offset](modelio/mdlvertexattribute/offset.md)
- [bufferIndex](modelio/mdlvertexattribute/bufferindex.md)
- [initializationValue](modelio/mdlvertexattribute/initializationvalue.md)
