---
title: format
framework: modelio
role: symbol
role_heading: Instance Property
path: modelio/mdlvertexattributedata/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

### Accessing Data for a Vertex Attribute

- [dataStart](modelio/mdlvertexattributedata/datastart.md)
- [stride](modelio/mdlvertexattributedata/stride.md)
