80 const float& shininess);
97 GLS_EXPORT
void ApplyAmbient (GLenum face = GL_FRONT_AND_BACK);
102 GLS_EXPORT
void ApplyDiffuse (GLenum face = GL_FRONT_AND_BACK);
107 GLS_EXPORT
void ApplySpecular (GLenum face = GL_FRONT_AND_BACK);
112 GLS_EXPORT
void ApplyEmission (GLenum face = GL_FRONT_AND_BACK);
122 GLS_EXPORT
void ApplyAll(GLenum face = GL_FRONT_AND_BACK);
125 GLS_EXPORT
bool InUse(
void);
130 GLS_EXPORT
void InUse(
bool val);
133 GLS_EXPORT std::string&
Name(
void);
138 GLS_EXPORT
void Name(
const std::string& name);
141 GLS_EXPORT
bool operator==(
const Material & rhs,
const Material& lhs );
142 GLS_EXPORT
bool operator!=(
const Material & rhs,
const Material& lhs );
145 GLS_EXPORT std::ostream & operator<<(std::ostream & outstr,
const Material & mat);
148 GLS_EXPORT std::istream & operator>>(std::istream & instr, Material & mat);
The DistiUnhideGlobalsDummyClass class.
std::string _name
Definition: material.h:71
void ApplyShininess(GLenum face=GL_FRONT_AND_BACK)
void ApplyEmission(GLenum face=GL_FRONT_AND_BACK)
static glsColor _emissionDefault
Definition: material.h:62
static glsColor _diffuseDefault
Definition: material.h:60
glsColor _specular
Definition: material.h:67
bool _inUse
Definition: material.h:70
void ApplySpecular(GLenum face=GL_FRONT_AND_BACK)
void ApplyAmbient(GLenum face=GL_FRONT_AND_BACK)
static bool MaterialsAreEquivalent(const Material &m1, const Material &m2)
Definition: material.h:83
The Color class: Implements a 4 component RGBA color.
static float _shininessDefault
Definition: material.h:63
GL Studio Enumerations and constants.
void ApplyAll(GLenum face=GL_FRONT_AND_BACK)
ColorMaterialMode_e
Definition: display_types.h:147
Definition: material.h:56
glsColor _ambient
Definition: material.h:65
void ApplyDiffuse(GLenum face=GL_FRONT_AND_BACK)
Definition: gls_color.h:54
glsColor _diffuse
Definition: material.h:66
float _shininess
Definition: material.h:69
static glsColor _specularDefault
Definition: material.h:61
Definition: bmpimage.h:46
ColorMaterialMode_e _colorMaterialMode
Definition: material.h:72
glsColor _emission
Definition: material.h:68