setColorWriteMask method
Which channels of colour attachment attachment the next draws may
change — DeviceFeature.colorWriteMask. ColorWriteMask.all at the
start of every pass. The index follows setBlend's rule: honoured only
where DeviceFeature.independentBlend is.
Implementation
@override
void setColorWriteMask(ColorWriteMask mask, {int attachment = 0}) => _gated(
DeviceFeature.colorWriteMask,
'setColorWriteMask',
(mask: mask, attachment: attachment),
);