<!-- clanlib header begin --> <HTML> <HEAD> <TITLE>CL_TextureUnit - ClanLib Game SDK</TITLE> <STYLE TYPE="text/css"><!-- HTML BODY { font-family: verdana, helvetica, sans-serif; font-size: 12px; } H1 { font-size: 22px; } H2 { font-size: 18px; } H3 { font-size: 16px; } H4 { font-size: 14px; } P { font-size: 12px; } LI { font-size: 12px; } --></STYLE> </HEAD> <body bgcolor=white text=black link=blue vlink=#800080> <center> <img src="http://clanlib.org/gfx/clanlib.png"> </center> <!-- clanlib header end --> <center> <p> <a href="http://clanlib.org/docs.html">Home</a> | <a href="classes.html">All Classes</a> | <a href="modules.html">Grouped Classes</a> | <a href="index.html">Index</a> | <a href="search.html">Search</a> </p> </center> <h1>Class CL_TextureUnit</h1> <p> glTexEnv container. <a href="#description">More...</a></p> <p>Derived from: <i>none</i> <br> Derived by: <i>none</i> <br>Group: GL (Display 3D)</p> <p> #include <ClanLib/gl.h> <p> <table border=0 width=100%> </table> <p><b>Construction:</b></p> <table border=0 width=100%> <tr><td width=30% valign=top><p><a href="CL_TextureUnit__CL_TextureUnit.html">CL_TextureUnit</a></p></td><td valign=top><p> Constructs a texture unit.</p></td></tr></table> <p><b>Attributes:</b></p> <table border=0 width=100%> <tr><td width=30% valign=top><p><a href="CL_TextureUnit__get_lod_bias.html">get_lod_bias</a></p></td><td valign=top><p> Returns the texture level of detail bias for texture unit.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TextureUnit__get_color.html">get_color</a></p></td><td valign=top><p> Returns the constant color for texture unit.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TextureUnit__get_mode.html">get_mode</a></p></td><td valign=top><p> Returns the texture function for texture unit.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TextureUnit__get_mode_gl.html">get_mode_gl</a></p></td><td valign=top><p> Returns the texture function as an OpenGL constant.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TextureUnit__get_combine_rgb_mode.html">get_combine_rgb_mode</a></p></td><td valign=top><p> Returns the RGB combine texture function.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TextureUnit__get_combine_rgb_mode_gl.html">get_combine_rgb_mode_gl</a></p></td><td valign=top><p> Returns the RGB combine texture function as OpenGL constant.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TextureUnit__get_combine_alpha_mode.html">get_combine_alpha_mode</a></p></td><td valign=top><p> Returns the alpha combine texture function.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TextureUnit__get_combine_alpha_mode_gl.html">get_combine_alpha_mode_gl</a></p></td><td valign=top><p> Returns the alpha combine texture function as OpenGL constant.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TextureUnit__get_combine_arg_src_rgb.html">get_combine_arg_src_rgb</a></p></td><td valign=top><p> Returns the color source for the RGB combine function's specified argument.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TextureUnit__get_combine_arg_src_rgb_gl.html">get_combine_arg_src_rgb_gl</a></p></td><td valign=top><p> Returns the color source for the RGB combine function's specified argument as OpenGL constant.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TextureUnit__get_combine_arg_operand_rgb.html">get_combine_arg_operand_rgb</a></p></td><td valign=top><p> Returns the operand for the RGB combine function's specified argument.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TextureUnit__get_combine_arg_operand_rgb_gl.html">get_combine_arg_operand_rgb_gl</a></p></td><td valign=top><p> Returns the operand for the alpha combine function's specified argument as OpenGL constant.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TextureUnit__get_combine_arg_src_alpha.html">get_combine_arg_src_alpha</a></p></td><td valign=top><p> Returns the alpha source for the alpha combine function's specified argument.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TextureUnit__get_combine_arg_src_alpha_gl.html">get_combine_arg_src_alpha_gl</a></p></td><td valign=top><p> Returns the alpha source for the alpha combine function's specified argument as OpenGL constant.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TextureUnit__get_combine_arg_operand_alpha.html">get_combine_arg_operand_alpha</a></p></td><td valign=top><p> Returns the operand for the alpha combine function's specified argument.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TextureUnit__get_combine_arg_operand_alpha_gl.html">get_combine_arg_operand_alpha_gl</a></p></td><td valign=top><p> Returns the operand for the alpha combine function's specified argument as OpenGL constant.</p></td></tr></table> <p><b>Operations:</b></p> <table border=0 width=100%> <tr><td width=30% valign=top><p><a href="CL_TextureUnit__set_lod_bias.html">set_lod_bias</a></p></td><td valign=top><p> Sets the texture level of detail bias for texture unit.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TextureUnit__set_color.html">set_color</a></p></td><td valign=top><p> Sets the constant color for texture unit.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TextureUnit__set_mode.html">set_mode</a></p></td><td valign=top><p> Sets the texture function for texture unit.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TextureUnit__set_mode_gl.html">set_mode_gl</a></p></td><td valign=top><p> Sets the texture function for texture unit with an OpenGL constant.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TextureUnit__set_combine_mode.html">set_combine_mode</a></p></td><td valign=top><p> Sets the RGB and alpha combine texture functions.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TextureUnit__set_combine_mode_gl.html">set_combine_mode_gl</a></p></td><td valign=top><p> Sets the RGB and alpha combine texture functions with an OpenGL constant.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TextureUnit__set_combine_arg.html">set_combine_arg</a></p></td><td valign=top><p> Sets an arguement for the RGB and alpha combine texture functions.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TextureUnit__set_combine_arg_gl.html">set_combine_arg_gl</a></p></td><td valign=top><p> Sets an arguement for the RGB and alpha combine texture functions using OpenGL constants.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TextureUnit__set_combine_rgb_arg.html">set_combine_rgb_arg</a></p></td><td valign=top><p> Sets an arguement for the RGB combine texture function.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TextureUnit__set_combine_rgb_arg_gl.html">set_combine_rgb_arg_gl</a></p></td><td valign=top><p> Sets an arguement for the RGB combine texture function with an OpenGL constant.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TextureUnit__set_combine_alpha_arg.html">set_combine_alpha_arg</a></p></td><td valign=top><p> Sets an arguement for the alpha combine texture function.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TextureUnit__set_combine_alpha_arg_gl.html">set_combine_alpha_arg_gl</a></p></td><td valign=top><p> Sets an arguement for the alpha combine texture function with an OpenGL constant.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_TextureUnit__setup_unit.html">setup_unit</a></p></td><td valign=top><p> Send the texture unit configuration to OpenGL.</p></td></tr></table> <a name="#description"><p><b>Detailed description:</b></p> <!-- clanlib footer begin --> <center><br><br><font color="#a0a0a0"> Questions or comments, write to the <a href="http://clanlib.org/contact.html">ClanLib mailing list</a>. </font></center> </body> </html> <!-- clanlib footer end -->