|
| MGMaterial () |
|
| MGMaterial (const float ambient[3], const float diffuse[3], const float specular[3], const float emission[3], float shininess, float transparency) |
|
void | exec (MGRenderAttr::RENDERSIDE rs) const |
| render GLAttribute process. [詳解]
|
|
void | setAmbientColor (const float ambientColor[3]) |
|
void | getAmbientColor (float ambientColor[3]) const |
|
void | setAmbientColor (float v0, float v1, float v2) |
|
void | setDiffuseColor (const float diffuseColor[3]) |
|
void | getDiffuseColor (float diffuseColor[3]) const |
|
void | setDiffuseColor (float v0, float v1, float v2) |
|
void | setSpecularColor (const float specularColor[3]) |
|
void | getSpecularColor (float specularColor[3]) const |
|
void | setSpecularColor (float v0, float v1, float v2) |
|
void | setEmissiveColor (const float emissiveColor[3]) |
|
void | getEmissiveColor (float emissiveColor[3]) const |
|
void | setEmissiveColor (float v0, float v1, float v2) |
|
void | setShininess (float shininess) |
|
float | getShininess () const |
|
void | setTransparency (float transparency) |
|
float | getTransparency () const |
|
long | identify_type () const |
| Return This object's typeID. [詳解]
|
|
std::ostream & | out (std::ostream &ostrm) const |
| Output function. [詳解]
|
|
MGMaterial defines OpenGL's Material attributes.
See the private member data for the details.