#include <blend_mode.h>
Public Member Functions | |
Construction | |
| CL_BlendMode () | |
| ~CL_BlendMode () | |
Attributes | |
| const CL_Colorf & | get_blend_color () const |
| Returns the constant color used in the blend equations. | |
| CL_BlendEquation | get_blend_equation () const |
| Returns the color blend equation. | |
| CL_BlendEquation | get_blend_equation_alpha () const |
| Returns the alpha blend equation. | |
| CL_BlendFunc | get_blend_function_src () const |
| Returns the source color blend function. | |
| CL_BlendFunc | get_blend_function_dest () const |
| Returns the destination color blend function. | |
| CL_BlendFunc | get_blend_function_src_alpha () const |
| Returns the source alpha blend function. | |
| CL_BlendFunc | get_blend_function_dest_alpha () const |
| Returns the destination alpha blend function. | |
| bool | is_blend_enabled () const |
| Returns true if blending mode is enabled. | |
Operations | |
| bool | operator== (const CL_BlendMode &other) const |
| Returns true if the two blend mode are equal in states. | |
| void | enable_blending (bool value) |
| Enable/Disable blending. | |
| void | set_blend_color (const CL_Colorf &color) |
| Set the constant color used in the blend equations. | |
| void | set_blend_equation (CL_BlendEquation color, CL_BlendEquation alpha) |
| Set the constant color used in the blend equations. | |
| void | set_blend_function (CL_BlendFunc src, CL_BlendFunc dest, CL_BlendFunc src_alpha, CL_BlendFunc dest_alpha) |
| Set the blend functions. | |
|
|
|
|
|
|
|
|
Enable/Disable blending.
|
|
|
Returns the constant color used in the blend equations.
|
|
|
Returns the color blend equation.
|
|
|
Returns the alpha blend equation.
|
|
|
Returns the destination color blend function.
|
|
|
Returns the destination alpha blend function.
|
|
|
Returns the source color blend function.
|
|
|
Returns the source alpha blend function.
|
|
|
Returns true if blending mode is enabled.
|
|
|
Returns true if the two blend mode are equal in states.
|
|
|
Set the constant color used in the blend equations.
|
|
||||||||||||
|
Set the constant color used in the blend equations.
|
|
||||||||||||||||||||
|
Set the blend functions.
|
1.4.6