Contents

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 nil for depth-only passes. Defaults to nil.

  • depth:

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

See Also

Creating an output