colors property

List<ColorTarget> colors
final

In shader output order. Two of them exactly once — the scene pass, which writes lit colour and the surface buffer together.

A pipeline may declare more outputs than the target has attachments and the extra is discarded, which is what lets the scene shaders write the surface buffer unconditionally and this list decide whether anyone is listening. See ARCHITECTURE.md §2.

Implementation

final List<ColorTarget> colors;