Public Member Functions | Public Attributes

glut::material_t Struct Reference
[Glut 3D Model Library]

material (used for rendering polygons) More...

#include <glut-model.h>

Collaboration diagram for glut::material_t:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

material (used for rendering polygons)

Definition at line 68 of file glut-model.h.


Constructor & Destructor Documentation

glut::material_t::material_t ( void   )  throw () [inline]

Definition at line 70 of file glut-model.h.


The documentation for this struct was generated from the following file: