init(output:rasterSampleCount:enableTonemap:enableColorMatch:alphaPremultiply:maxCameraCount:)
Creates a configuration with the given output format, MSAA sample count, and flags.
Declaration
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 totrue. - enableColorMatch:
When
true, a gamut conversion matrix fromrenderer.colorMatchis applied during resolve. Defaults tofalse. - alphaPremultiply:
When
true, the renderer divides content by alpha before applying tonemap and color match, then multiplies by alpha before final texture output. Defaults totrue. - maxCameraCount:
The maximum number of simultaneous cameras supported. Defaults to
1.