<!-- clanlib header begin --> <HTML> <HEAD> <TITLE>CL_Material - 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_Material</h1> <p> glMaterial 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_Material__CL_Material.html">CL_Material</a></p></td><td valign=top><p> Constructs a material.</p></td></tr></table> <p><b>Attributes:</b></p> <table border=0 width=100%> <tr><td width=30% valign=top><p><a href="CL_Material__get_ambient.html">get_ambient</a></p></td><td valign=top><p> Returns the ambient intensity of the material.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Material__get_diffuse.html">get_diffuse</a></p></td><td valign=top><p> Returns the diffuse (spread over wide area) intensity of the material.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Material__get_specular.html">get_specular</a></p></td><td valign=top><p> Returns the specular (mirror reflective) intensity of the material.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Material__get_ambient_and_diffuse.html">get_ambient_and_diffuse</a></p></td><td valign=top><p> Returns the combined ambient and diffuse intensity of the material.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Material__get_emission.html">get_emission</a></p></td><td valign=top><p> Returns the emission of the material.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Material__get_shininess.html">get_shininess</a></p></td><td valign=top><p> Returns the shininess of the material.</p></td></tr></table> <p><b>Operations:</b></p> <table border=0 width=100%> <tr><td width=30% valign=top><p><a href="CL_Material__set_ambient.html">set_ambient</a></p></td><td valign=top><p> Set the ambient intensity of the material.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Material__set_diffuse.html">set_diffuse</a></p></td><td valign=top><p> Set the diffuse (spread over wide area) intensity of the material.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Material__set_specular.html">set_specular</a></p></td><td valign=top><p> Set the specular (mirror reflective) intensity of the material.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Material__set_ambient_and_diffuse.html">set_ambient_and_diffuse</a></p></td><td valign=top><p> Set the combined ambient and diffuse intensity of the material.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Material__set_emission.html">set_emission</a></p></td><td valign=top><p> Set the emission of the material.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Material__set_shininess.html">set_shininess</a></p></td><td valign=top><p> Set the shininess of the material.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Material__setup_material.html">setup_material</a></p></td><td valign=top><p> Send the material 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 -->