#include <texture_unit.h>
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. | |
|
|
Constructs a texture unit.*/.
|
|
|
|
|
|
Returns the constant color for texture unit.
|
|
|
Returns the alpha combine texture function. The alpha combine texture function is only used when the mode is cl_unitmode_combine. |
|
|
Returns the operand for the alpha combine function's specified argument.
|
|
|
Returns the operand for the RGB combine function's specified argument.
|
|
|
Returns the alpha source for the alpha combine function's specified argument.
|
|
|
Returns the color source for the RGB combine function's specified argument.
|
|
|
Returns the RGB combine texture function. The RGB combine texture function is only used when the mode is cl_unitmode_combine. |
|
|
Returns the texture level of detail bias for texture unit.
|
|
|
Returns the texture function for texture unit.
|
|
|
Returns true if using point sprite texture coordinates.
|
|
|
Sets the constant color for texture unit.
|
|
||||||||||||||||
|
Sets an arguement for the alpha combine texture function.
|
|
||||||||||||||||||||||||
|
Sets an arguement for the RGB and alpha combine texture functions.
|
|
||||||||||||
|
Sets the RGB and alpha combine texture functions. The combine texture functions are only used when the mode is cl_unitmode_combine. |
|
||||||||||||||||
|
Sets an arguement for the RGB combine texture function.
|
|
|
Sets the texture level of detail bias for texture unit.
|
|
|
Sets the texture function for texture unit.
|
|
|
Enables whether texture coordinates are replaced with point sprite texture coordinates.
|
1.4.6