#include <material.h>
Collaboration diagram for GltMaterial:
Public Methods | |
GltMaterial (const GLenum face=GL_FRONT_AND_BACK, const bool getIt=false) | |
Constructor. | |
GltMaterial (const GltColor &ambient, const GltColor &diffuse, const GltColor &specular, const GltColor &emission, const GLfloat shininess, const GLenum face=GL_FRONT_AND_BACK) | |
Full constructor. | |
GltMaterial (const std::string &name, const GLenum face=GL_FRONT_AND_BACK) | |
Construct by name. | |
~GltMaterial () | |
Destructor. | |
void | get () |
Get the current OpenGL material settings. | |
void | set () const |
Set the current OpenGL material settings. |
OpenGL material settings object
Definition at line 51 of file material.h.