Home | All Classes | Grouped Classes | Index | Search

# Class CL_TextureUnit

glTexEnv container. More...

Derived from: none
Derived by: none
Group: GL (Display 3D)

#include <ClanLib/gl.h>

Construction:

CL_TextureUnit | Constructs a texture unit.

Attributes:

get_lod_bias | Returns the texture level of detail bias for texture unit.
get_color | Returns the constant color for texture unit.
get_mode | Returns the texture function for texture unit.
get_mode_gl | Returns the texture function as an OpenGL constant.
get_combine_rgb_mode | Returns the RGB combine texture function.
get_combine_rgb_mode_gl | Returns the RGB combine texture function as OpenGL constant.
get_combine_alpha_mode | Returns the alpha combine texture function.
get_combine_alpha_mode_gl | Returns the alpha combine texture function as OpenGL constant.
get_combine_arg_src_rgb | Returns the color source for the RGB combine function's specified argument.
get_combine_arg_src_rgb_gl | Returns the color source for the RGB combine function's specified argument as OpenGL constant.
get_combine_arg_operand_rgb | Returns the operand for the RGB combine function's specified argument.
get_combine_arg_operand_rgb_gl | Returns the operand for the alpha combine function's specified argument as OpenGL constant.
get_combine_arg_src_alpha | Returns the alpha source for the alpha combine function's specified argument.
get_combine_arg_src_alpha_gl | Returns the alpha source for the alpha combine function's specified argument as OpenGL constant.
get_combine_arg_operand_alpha | Returns the operand for the alpha combine function's specified argument.
get_combine_arg_operand_alpha_gl | Returns the operand for the alpha combine function's specified argument as OpenGL constant.

Operations:

set_lod_bias | Sets the texture level of detail bias for texture unit.
set_color | Sets the constant color for texture unit.
set_mode | Sets the texture function for texture unit.
set_mode_gl | Sets the texture function for texture unit with an OpenGL constant.
set_combine_mode | Sets the RGB and alpha combine texture functions.
set_combine_mode_gl | Sets the RGB and alpha combine texture functions with an OpenGL constant.
set_combine_arg | Sets an arguement for the RGB and alpha combine texture functions.
set_combine_arg_gl | Sets an arguement for the RGB and alpha combine texture functions using OpenGL constants.
set_combine_rgb_arg | Sets an arguement for the RGB combine texture function.
set_combine_rgb_arg_gl | Sets an arguement for the RGB combine texture function with an OpenGL constant.
set_combine_alpha_arg | Sets an arguement for the alpha combine texture function.
set_combine_alpha_arg_gl | Sets an arguement for the alpha combine texture function with an OpenGL constant.
setup_unit | Send the texture unit configuration to OpenGL.

Detailed description:

Questions or comments, write to the ClanLib mailing list.