Contents

MTLBlendOperation.subtract

Subtract a portion of the destination pixel values from a portion of the source.

Declaration

case subtract

Discussion

RGB = Source.rgb * SBF - Dest.rgb * DBF

A = Source.a * SBF - Dest.a * DBF

See Also

Blend operations