Skip to main content

BLEND_FUNC_INVERT_COLOR

Constant BLEND_FUNC_INVERT_COLOR 

Source
pub const BLEND_FUNC_INVERT_COLOR: Blend;
Expand description

Writing white source pixels will invert the destination pixel. Color channels in the texture should all be equal to the alpha channel (grayscale) so that 100% opaque regions are white and 100% transparent regions are black.