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

# layoutIndex

The index of the layout that contains this attribute.

## Declaration

```swift
var layoutIndex: Int { get set }
```

## Discussion

Discussion The index refers to an entry in vertexLayouts.
