Enumeration BlendFunction
Enumeration Members
COLOR_BURN
COLOR_BURN: number
COLOR_DODGE
COLOR_DODGE: number
DIFFERENCE
DIFFERENCE: number
EXCLUSION
EXCLUSION: number
HARD_LIGHT
HARD_LIGHT: number
INVERT_RGB
INVERT_RGB: number
LINEAR_BURN
LINEAR_BURN: number
LINEAR_DODGE
LINEAR_DODGE: number
LINEAR_LIGHT
LINEAR_LIGHT: number
LUMINOSITY
LUMINOSITY: number
PIN_LIGHT
PIN_LIGHT: number
SATURATION
SATURATION: number
SOFT_LIGHT
SOFT_LIGHT: number
VIVID_LIGHT
VIVID_LIGHT: number
A blend function enumeration.
Important: Do not use
BlendFunction.SKIP
to disable effects. See Enabling and Disabling Effects for more information.Based on https://www.khronos.org/registry/OpenGL/extensions/NV/NV_blend_equation_advanced.txt
{Number} SKIP - Deprecated. Use DST instead. Warning: This blend function does NOT fully disable the effect.
{Number} SET - Deprecated. Use SRC instead.
{Number} ADD - Additive blending. Fast, but may produce washed out results.
{Number} ALPHA - Alpha blending. Blends based on the alpha value of the new color.
{Number} AVERAGE - Calculates the avarage of the new color and the base color.
{Number} COLOR - Converts the colors to HSL and blends based on color.
{Number} COLOR_BURN - Color burn.
{Number} COLOR_DODGE - Color dodge.
{Number} DARKEN - Prioritize darker colors.
{Number} DIFFERENCE - Color difference.
{Number} DIVIDE - Color division.
{Number} DST - Overwrites the new color with the base color. Ignores opacity.
{Number} EXCLUSION - Color exclusion.
{Number} HARD_LIGHT - Hard light.
{Number} HARD_MIX - Hard mix.
{Number} HUE - Converts the colors to HSL and blends based on hue.
{Number} INVERT - Overwrites the base color with the inverted new color.
{Number} INVERT_RGB - Multiplies the new color with the inverted base color.
{Number} LIGHTEN - Prioritize lighter colors.
{Number} LINEAR_BURN - Linear burn.
{Number} LINEAR_DODGE - Same as ADD but limits the result to 1.
{Number} LINEAR_LIGHT - Linear light.
{Number} LUMINOSITY - Converts the colors to HSL and blends based on luminosity.
{Number} MULTIPLY - Color multiplication.
{Number} NEGATION - Negates the base color using the new color.
{Number} NORMAL - Overwrites the base color with the new one.
{Number} OVERLAY - Color overlay.
{Number} PIN_LIGHT - Pin light.
{Number} REFLECT - Color reflection.
{Number} SCREEN - Screen blending. The two colors are effectively projected on a white screen simultaneously.
{Number} SRC - Overwrites the base color with the new one. Ignores opacity.
{Number} SATURATION - Converts the colors to HSL and blends based on saturation.
{Number} SOFT_LIGHT - Soft light.
{Number} SUBTRACT - Subtracts the new color from the base color.
{Number} VIVID_LIGHT - Vivid light.