<!--
{
  "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/Output-swift.struct/init(color:depth:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:19RealityCoreRenderer08LowLevelC0C6OutputV5color5depthA2E7TextureVSg_AJtcfc"
  },
  "title" : "init(color:depth:)"
}
-->

# init(color:depth:)

Creates an output configuration with the given color and depth texture targets.

```
init(color: LowLevelRenderer.Output.Texture? = nil, depth: LowLevelRenderer.Output.Texture? = nil)
```

## Parameters

`color`

The color output texture, or `nil` for depth-only passes. Defaults to `nil`.

`depth`

The depth output texture, or `nil` to omit depth. Defaults to `nil`.

---

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)