init(color:depth:)
Creates an output configuration with the given color and depth texture targets.
Declaration
init(color: LowLevelRenderer.Output.Texture? = nil, depth: LowLevelRenderer.Output.Texture? = nil)Parameters
- color:
The color output texture, or
nilfor depth-only passes. Defaults tonil. - depth:
The depth output texture, or
nilto omit depth. Defaults tonil.