supportsIndependentBlend property

  1. @override
bool get supportsIndependentBlend
override

Whether a pass with several colour targets can blend each differently.

Asked by weighted blended transparency (R8), whose two targets blend additively and multiplicatively in one draw; without it the draws go twice, once per target. True on Impeller, WebGPU and the software rasteriser (for its first two attachments), and on WebGL2 where the context offers OES_draw_buffers_indexed. See PassEncoder.setBlend for what the index means where it is honoured.

Implementation

@override
bool get supportsIndependentBlend => false;