79 const float& shininess );
90 GLS_EXPORT
void ApplyAmbient( GLenum face = GL_FRONT_AND_BACK );
95 GLS_EXPORT
void ApplyDiffuse( GLenum face = GL_FRONT_AND_BACK );
100 GLS_EXPORT
void ApplySpecular( GLenum face = GL_FRONT_AND_BACK );
105 GLS_EXPORT
void ApplyEmission( GLenum face = GL_FRONT_AND_BACK );
110 GLS_EXPORT
void ApplyShininess( GLenum face = GL_FRONT_AND_BACK );
115 GLS_EXPORT
void ApplyAll( GLenum face = GL_FRONT_AND_BACK );
118 GLS_EXPORT
bool InUse(
void );
123 GLS_EXPORT
void InUse(
bool val );
126 GLS_EXPORT std::string&
Name(
void );
131 GLS_EXPORT
void Name(
const std::string& name );
134 GLS_EXPORT
bool operator==(
const Material& rhs,
const Material& lhs );
135 GLS_EXPORT
bool operator!=(
const Material& rhs,
const Material& lhs );
138 GLS_EXPORT std::ostream& operator<<( std::ostream& outstr,
const Material& mat );
141 GLS_EXPORT std::istream& operator>>( std::istream& instr, Material& mat );
The DistiUnhideGlobalsDummyClass class.
static GlsColor _diffuseDefault
Definition: material.h:59
GlsColor _emission
Definition: material.h:67
std::string _name
Definition: material.h:70
void ApplyShininess(GLenum face=GL_FRONT_AND_BACK)
void ApplyEmission(GLenum face=GL_FRONT_AND_BACK)
bool _inUse
Definition: material.h:69
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:82
GlsColor _specular
Definition: material.h:66
The Color class: Implements a 4 component RGBA color.
static GlsColor _specularDefault
Definition: material.h:60
static float _shininessDefault
Definition: material.h:62
GL Studio Enumerations and constants.
void ApplyAll(GLenum face=GL_FRONT_AND_BACK)
GlsColor _diffuse
Definition: material.h:65
ColorMaterialMode_e
Definition: display_types.h:147
Definition: gls_color.h:53
Definition: material.h:55
void ApplyDiffuse(GLenum face=GL_FRONT_AND_BACK)
float _shininess
Definition: material.h:68
Definition: bmpimage.h:46
GlsColor _ambient
Definition: material.h:64
ColorMaterialMode_e _colorMaterialMode
Definition: material.h:71
static GlsColor _emissionDefault
Definition: material.h:61