Public Methods
-
Material()
-
~Material()
- Material(unsigned int i);
-
void SetName(const string &name)
-
string GetName()
-
void SetAmbient(float r, float g, float b, float a)
-
void SetDiffuse(float r, float g, float b, float a)
-
void SetEmission(float r, float g, float b, float a)
-
void SetSpecular(float r, float g, float b, float a)
-
void SetShininess(float s)
-
void ShowMaterialProperties(void)
-
int ParseXML(xmlDocPtr doc, xmlNodePtr cur)
- Parse a material node inside a XML file.
-
void MakeDisplayList(void)
-
void GLDraw(void)
-
GLuint getList()
Private Fields
-
string Name
-
GLuint glList
-
float diffuse[4]
- The display list
-
float ambient[4]
-
float emission[4]
-
float specular[4]
-
float shininess
Documentation
- Material()
- ~Material()
- Material(unsigned int i);
- void SetName(const string &name)
- string GetName()
- void SetAmbient(float r, float g, float b, float a)
- void SetDiffuse(float r, float g, float b, float a)
- void SetEmission(float r, float g, float b, float a)
- void SetSpecular(float r, float g, float b, float a)
- void SetShininess(float s)
- void ShowMaterialProperties(void)
- int ParseXML(xmlDocPtr doc, xmlNodePtr cur)
- Parse a material node inside a XML file. (0 if OK, 1 if ERROR)
- void MakeDisplayList(void)
- void GLDraw(void)
- GLuint getList()
- string Name
- GLuint glList
- float diffuse[4]
- The display list
- float ambient[4]
- float emission[4]
- float specular[4]
- float shininess
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.