Mix Modes

   Print  Previous  Next

Available Functions

The function SetMixMode offers the possibility to set the mix mode of an effect. The function GetMixMode retrieves the mix mode currently in use. They are declared as follows:

void SetMixMode(int mode)
int GetMixMode() 

 

For the parameter mode one of the values described in the table below must be used. If mode has an invalid value, nothing will happen and a message will be displayed inside the Script output window of the Script editor. You can find more information about mix modes and their usage in the MADRIX manual.

 

Available Parameters

Identifier/ Mix Mode

Description

MIXMODE_NORMAL

The normal mix mode.

MIXMODE_DARKEN

The darken mix mode.

MIXMODE_MULTIPLY

The multiply/mask mix mode.

MIXMODE_COLORBURN

The color burn mix mode.

MIXMODE_LINEARBURN

The linear burn mix mode.

MIXMODE_LIGHTEN

The lighten mix mode.

MIXMODE_SCREEN

The screen mix mode.

MIXMODE_COLORDODGE

The color dodge mix mode.

MIXMODE_LINEARDODGE

The linear dodge mix mode.

MIXMODE_OVERLAY

The overlay mix mode.

MIXMODE_SOFTLIGHT

The soft light mix mode.

MIXMODE_HARDLIGHT

The hard light mix mode.

MIXMODE_VIVIDLIGHT

The vivid light mix mode.

MIXMODE_LINEARLIGHT

The linear light mix mode.

MIXMODE_PINLIGHT

The pin light mix mode.

MIXMODE_HARDMIX

The hard mix mix mode.

MIXMODE_DIFFERENCE

The difference mix mode.

MIXMODE_EXCLUSION

The exclusion mix mode.

MIXMODE_AND

The AND mix mode.

MIXMODE_OR

The OR mix mode.

MIXMODE_XOR

The XOR mix mode.

MIXMODE_NAND

The NAND mix mode.

MIXMODE_NOR

The NOR mix mode.

MIXMODE_MASK

The mask mix mode.