CL_TextureUnit_GL1 Class Reference
[clanGL1 Display]

Texture Unit description. More...

#include <texture_unit.h>

List of all members.

Public Member Functions

 CL_TextureUnit_GL1 ()
 Constructs a texture unit.*/.
 ~CL_TextureUnit_GL1 ()
double get_lod_bias () const
 Returns the texture level of detail bias for texture unit.
CL_Colorf get_color () const
 Returns the constant color for texture unit.
CL_TextureUnitMode get_mode () const
 Returns the texture function for texture unit.
CL_TextureUnitRGBMode get_combine_rgb_mode () const
 Returns the RGB combine texture function.
CL_TextureUnitAlphaMode get_combine_alpha_mode () const
 Returns the alpha combine texture function.
CL_TextureUnitSource get_combine_arg_src_rgb (int arg) const
 Returns the color source for the RGB combine function's specified argument.
CL_TextureUnitRGBOperand get_combine_arg_operand_rgb (int arg) const
 Returns the operand for the RGB combine function's specified argument.
CL_TextureUnitSource get_combine_arg_src_alpha (int arg) const
 Returns the alpha source for the alpha combine function's specified argument.
CL_TextureUnitAlphaOperand get_combine_arg_operand_alpha (int arg) const
 Returns the operand for the alpha combine function's specified argument.
bool get_point_coord_replace () const
 Returns true if using point sprite texture coordinates.
void set_lod_bias (double bias)
 Sets the texture level of detail bias for texture unit.
void set_color (const CL_Colorf &color)
 Sets the constant color for texture unit.
void set_mode (CL_TextureUnitMode mode)
 Sets the texture function for texture unit.
void set_combine_mode (CL_TextureUnitRGBMode rgb_mode, CL_TextureUnitAlphaMode alpha_mode)
 Sets the RGB and alpha combine texture functions.
void set_combine_arg (int arg, CL_TextureUnitSource src_rgb, CL_TextureUnitRGBOperand operand_rgb, CL_TextureUnitSource src_alpha, CL_TextureUnitAlphaOperand operand_alpha)
 Sets an arguement for the RGB and alpha combine texture functions.
void set_combine_rgb_arg (int arg, CL_TextureUnitSource src_rgb, CL_TextureUnitRGBOperand operand_rgb)
 Sets an arguement for the RGB combine texture function.
void set_combine_alpha_arg (int arg, CL_TextureUnitSource src_alpha, CL_TextureUnitAlphaOperand operand_alpha)
 Sets an arguement for the alpha combine texture function.
void set_point_coord_replace (bool enable)
 Enables whether texture coordinates are replaced with point sprite texture coordinates.


Detailed Description

Texture Unit description.


Constructor & Destructor Documentation

CL_TextureUnit_GL1::CL_TextureUnit_GL1  ) 
 

Constructs a texture unit.*/.

CL_TextureUnit_GL1::~CL_TextureUnit_GL1  ) 
 


Member Function Documentation

CL_Colorf CL_TextureUnit_GL1::get_color  )  const
 

Returns the constant color for texture unit.

CL_TextureUnitAlphaMode CL_TextureUnit_GL1::get_combine_alpha_mode  )  const
 

Returns the alpha combine texture function.

The alpha combine texture function is only used when the mode is cl_unitmode_combine.

CL_TextureUnitAlphaOperand CL_TextureUnit_GL1::get_combine_arg_operand_alpha int  arg  )  const
 

Returns the operand for the alpha combine function's specified argument.

CL_TextureUnitRGBOperand CL_TextureUnit_GL1::get_combine_arg_operand_rgb int  arg  )  const
 

Returns the operand for the RGB combine function's specified argument.

CL_TextureUnitSource CL_TextureUnit_GL1::get_combine_arg_src_alpha int  arg  )  const
 

Returns the alpha source for the alpha combine function's specified argument.

CL_TextureUnitSource CL_TextureUnit_GL1::get_combine_arg_src_rgb int  arg  )  const
 

Returns the color source for the RGB combine function's specified argument.

CL_TextureUnitRGBMode CL_TextureUnit_GL1::get_combine_rgb_mode  )  const
 

Returns the RGB combine texture function.

The RGB combine texture function is only used when the mode is cl_unitmode_combine.

double CL_TextureUnit_GL1::get_lod_bias  )  const
 

Returns the texture level of detail bias for texture unit.

CL_TextureUnitMode CL_TextureUnit_GL1::get_mode  )  const
 

Returns the texture function for texture unit.

bool CL_TextureUnit_GL1::get_point_coord_replace  )  const
 

Returns true if using point sprite texture coordinates.

void CL_TextureUnit_GL1::set_color const CL_Colorf color  ) 
 

Sets the constant color for texture unit.

void CL_TextureUnit_GL1::set_combine_alpha_arg int  arg,
CL_TextureUnitSource  src_alpha,
CL_TextureUnitAlphaOperand  operand_alpha
 

Sets an arguement for the alpha combine texture function.

void CL_TextureUnit_GL1::set_combine_arg int  arg,
CL_TextureUnitSource  src_rgb,
CL_TextureUnitRGBOperand  operand_rgb,
CL_TextureUnitSource  src_alpha,
CL_TextureUnitAlphaOperand  operand_alpha
 

Sets an arguement for the RGB and alpha combine texture functions.

void CL_TextureUnit_GL1::set_combine_mode CL_TextureUnitRGBMode  rgb_mode,
CL_TextureUnitAlphaMode  alpha_mode
 

Sets the RGB and alpha combine texture functions.

The combine texture functions are only used when the mode is cl_unitmode_combine.

void CL_TextureUnit_GL1::set_combine_rgb_arg int  arg,
CL_TextureUnitSource  src_rgb,
CL_TextureUnitRGBOperand  operand_rgb
 

Sets an arguement for the RGB combine texture function.

void CL_TextureUnit_GL1::set_lod_bias double  bias  ) 
 

Sets the texture level of detail bias for texture unit.

void CL_TextureUnit_GL1::set_mode CL_TextureUnitMode  mode  ) 
 

Sets the texture function for texture unit.

void CL_TextureUnit_GL1::set_point_coord_replace bool  enable  ) 
 

Enables whether texture coordinates are replaced with point sprite texture coordinates.


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