color property

ColorTarget get color

The pass's only colour attachment. Throws a StateError for a pass with none or several.

Implementation

ColorTarget get color => descriptor.colors.single;