setBlend method

  1. @override
void setBlend(
  1. BlendState? state, {
  2. int attachment = 0,
})
override

Blending for one colour attachment; null switches it off.

attachment is an index into RenderPassDescriptor.colors.

Implementation

@override
void setBlend(BlendState? state, {int attachment = 0}) =>
    commands.add(RecordedBlend(state, attachment));