material (used for rendering polygons) More...
#include <glut-model.h>
Public Member Functions | |
material_t (void) throw () | |
~material_t (void) throw () | |
void | clear (void) throw () |
Public Attributes | |
int | texture_id |
openGL texture if nonzero | |
bool | isTransparent |
does texture contain non-1 alpha? | |
glut_color_t | color |
use color if no texture ID |
material (used for rendering polygons)
Definition at line 68 of file glut-model.h.
glut::material_t::material_t | ( | void | ) | throw () [inline] |
Definition at line 70 of file glut-model.h.