---
title: layouts
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlvertexdescriptor/layouts
---

# layouts

An array of state data that describes how data are fetched by a vertex shader function when rendering primitives.

## Declaration

```swift
var layouts: MTLVertexBufferLayoutDescriptorArray { get }
```

## See Also

### Accessing the vertex buffer layouts and vertex attributes

- [attributes](metal/mtlvertexdescriptor/attributes.md)
