CL_BlendMode Class Reference
[clanDisplay Display]

Blend mode description. More...

#include <blend_mode.h>

List of all members.

Public Member Functions

Construction
 CL_BlendMode ()
 ~CL_BlendMode ()
Attributes
const CL_Colorfget_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.


Detailed Description

Blend mode description.


Constructor & Destructor Documentation

CL_BlendMode::CL_BlendMode  ) 
 

CL_BlendMode::~CL_BlendMode  ) 
 


Member Function Documentation

void CL_BlendMode::enable_blending bool  value  ) 
 

Enable/Disable blending.

const CL_Colorf& CL_BlendMode::get_blend_color  )  const
 

Returns the constant color used in the blend equations.

CL_BlendEquation CL_BlendMode::get_blend_equation  )  const
 

Returns the color blend equation.

CL_BlendEquation CL_BlendMode::get_blend_equation_alpha  )  const
 

Returns the alpha blend equation.

CL_BlendFunc CL_BlendMode::get_blend_function_dest  )  const
 

Returns the destination color blend function.

CL_BlendFunc CL_BlendMode::get_blend_function_dest_alpha  )  const
 

Returns the destination alpha blend function.

CL_BlendFunc CL_BlendMode::get_blend_function_src  )  const
 

Returns the source color blend function.

CL_BlendFunc CL_BlendMode::get_blend_function_src_alpha  )  const
 

Returns the source alpha blend function.

bool CL_BlendMode::is_blend_enabled  )  const
 

Returns true if blending mode is enabled.

bool CL_BlendMode::operator== const CL_BlendMode other  )  const
 

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

void CL_BlendMode::set_blend_color const CL_Colorf color  ) 
 

Set the constant color used in the blend equations.

void CL_BlendMode::set_blend_equation CL_BlendEquation  color,
CL_BlendEquation  alpha
 

Set the constant color used in the blend equations.

void CL_BlendMode::set_blend_function CL_BlendFunc  src,
CL_BlendFunc  dest,
CL_BlendFunc  src_alpha,
CL_BlendFunc  dest_alpha
 

Set the blend functions.


The documentation for this class was generated from the following file:
Generated on Thu Dec 3 02:39:34 2009 for ClanLib by  doxygen 1.4.6