<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/LowLevelMeshInstanceArray/Iterator",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:19RealityCoreRenderer25LowLevelMeshInstanceArrayC8IteratorV"
  },
  "title" : "LowLevelMeshInstanceArray.Iterator"
}
-->

# LowLevelMeshInstanceArray.Iterator

An iterator over the mesh instance slots.

```
struct Iterator
```

## Topics

### Instance Methods

[`func next() -> LowLevelMeshInstanceArray.Element?`](/documentation/RealityKit/LowLevelMeshInstanceArray/Iterator/next())

Returns the next mesh instance slot, or `nil` when all slots have been visited.

## Relationships

### Conforms To

[`IteratorProtocol`](/documentation/Swift/IteratorProtocol)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)