49[[nodiscard]]
bool shouldPreScaleCoverage(BlendMode blendMode);
51[[nodiscard]] std::optional<pipeline::Stage> toStage(BlendMode blendMode);
BlendMode
Blend mode for compositing source over destination. Includes Porter-Duff modes and advanced (separabl...
Definition BlendMode.h:14
@ SoftLight
Soft version of hard light.
@ Destination
Output is destination only.
@ Lighten
Maximum of source and destination.
@ Exclusion
Similar to Difference but lower contrast.
@ Difference
Absolute difference.
@ Saturation
Source saturation, destination hue and luminosity.
@ Screen
Inverse multiply.
@ SourceOut
Source where destination is transparent.
@ DestinationOut
Destination where source is transparent.
@ DestinationIn
Destination where source is opaque.
@ Luminosity
Source luminosity, destination hue and saturation.
@ Overlay
Multiply or screen based on destination.
@ SourceIn
Source where destination is opaque.
@ Xor
Source XOR destination.
@ DestinationOver
Destination over source.
@ SourceAtop
Source atop destination.
@ DestinationAtop
Destination atop source.
@ ColorBurn
Darken destination toward source.
@ SourceOver
Source over destination (default).
@ Modulate
Component-wise multiply.
@ HardLight
Multiply or screen based on source.
@ Clear
Output is transparent.
@ Multiply
Component-wise multiply (with alpha handling).
@ ColorDodge
Brighten destination toward source.
@ Source
Output is source only.
@ Darken
Minimum of source and destination.
@ Hue
Source hue, destination saturation and luminosity.
Color types (8-bit and floating-point, straight and premultiplied).
Floating-point RGBA color [0,1] (straight alpha).
Definition Color.h:88