All Classes |Grouped Classes |Index

Class CL_BlendMode

Blend mode description. More...

Derived from:

None

Derived by:

None

Group:

Display (Display)

#include <ClanLib/display.h>

Class Members:

Construction:

CL_BlendMode


Attributes:

get_blend_color

Returns the constant color used in the blend equations.

get_blend_equation

Returns the color blend equation.

get_blend_equation_alpha

Returns the alpha blend equation.

get_blend_function_src

Returns the source color blend function.

get_blend_function_dest

Returns the destination color blend function.

get_blend_function_src_alpha

Returns the source alpha blend function.

get_blend_function_dest_alpha

Returns the destination alpha blend function.

is_blend_enabled

Returns true if blending mode is enabled.


Operations:

operator==

Returns true if the two blend mode are equal in states.

enable_blending

Enable/Disable blending.

set_blend_color

Set the constant color used in the blend equations.

set_blend_equation

Set the constant color used in the blend equations.

set_blend_function

Set the blend functions.