<!--
{
  "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/Configuration/init(output:rasterSampleCount:enableTonemap:enableColorMatch:alphaPremultiply:maxCameraCount:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:19RealityCoreRenderer08LowLevelC0C13ConfigurationV6output17rasterSampleCount13enableTonemap0K10ColorMatch16alphaPremultiply09maxCameraJ0A2E6OutputV_SiS3bSitcfc"
  },
  "title" : "init(output:rasterSampleCount:enableTonemap:enableColorMatch:alphaPremultiply:maxCameraCount:)"
}
-->

# init(output:rasterSampleCount:enableTonemap:enableColorMatch:alphaPremultiply:maxCameraCount:)

Creates a configuration with the given output format, MSAA sample count, and flags.

```
init(output: LowLevelRenderer.Configuration.Output, rasterSampleCount: Int, enableTonemap: Bool = true, enableColorMatch: Bool = false, alphaPremultiply: Bool = true, maxCameraCount: Int = 1)
```

## Parameters

`output`

The pixel format configuration for the renderer’s output attachments.

`rasterSampleCount`

The number of samples per pixel for MSAA.

`enableTonemap`

When `true`, HDR output values are tone-mapped before
writing to the output texture. Defaults to `true`.

`enableColorMatch`

When `true`, a gamut conversion matrix from
`renderer.colorMatch` is applied during resolve. Defaults to `false`.

`alphaPremultiply`

When `true`, the renderer divides content by alpha
before applying tonemap and color match, then multiplies by alpha before
final texture output. Defaults to `true`.

`maxCameraCount`

The maximum number of simultaneous cameras supported.
Defaults to `1`.

---

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)