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

# LowLevelRenderer.CameraArray

A mutable, fixed-capacity array of camera values.

```
struct CameraArray
```

## Overview

Set `count` to the number of active cameras before calling [`render(using:_:)`](/documentation/RealityKit/LowLevelRenderer/render(using:_:)).

## Topics

### Creating a camera array

[`init(cameras: [LowLevelRenderer.Camera])`](/documentation/RealityKit/LowLevelRenderer/CameraArray/init(cameras:))

Creates a camera array populated with the given cameras.

### Accessing the camera count

[`var count: Int`](/documentation/RealityKit/LowLevelRenderer/CameraArray/count)

The number of active cameras.

[`static let maxCount: Int`](/documentation/RealityKit/LowLevelRenderer/CameraArray/maxCount)

The maximum number of cameras supported.

### Subscripts

[`subscript(Int) -> LowLevelRenderer.Camera`](/documentation/RealityKit/LowLevelRenderer/CameraArray/subscript(_:))

Returns or sets the camera at the given index.

## Relationships

### Conforms To

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

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

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

---

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)