39#ifndef INCLUDED_DISTI_MATERIAL_H
40#define INCLUDED_DISTI_MATERIAL_H
84 const float& shininess );
Definition: gls_color.h:53
Definition: material.h:54
GlsColor _ambient
Ambient component of the material.
Definition: material.h:62
GlsColor _emission
Emission component of the material.
Definition: material.h:65
void ApplyShininess(GLenum face=GL_FRONT_AND_BACK)
ColorMaterialMode_e _colorMaterialMode
Color mode to use for this material.
Definition: material.h:69
static GlsColor _emissionDefault
The emission value for the default material.
Definition: material.h:59
static float _shininessDefault
The shininess value for the default material.
Definition: material.h:60
static GlsColor _ambientDefault
The ambient value for the default material.
Definition: material.h:56
void ApplyDiffuse(GLenum face=GL_FRONT_AND_BACK)
void ApplyAll(GLenum face=GL_FRONT_AND_BACK)
static GlsColor _specularDefault
The specular value for the default material.
Definition: material.h:58
const std::string & Name() const
GlsColor _specular
Specular component of the material.
Definition: material.h:64
void ApplyAmbient(GLenum face=GL_FRONT_AND_BACK)
bool _inUse
True if the material is in use.
Definition: material.h:67
void ApplySpecular(GLenum face=GL_FRONT_AND_BACK)
GlsColor _diffuse
Diffuse component of the material.
Definition: material.h:63
static GlsColor _diffuseDefault
The diffuse value for the default material.
Definition: material.h:57
Material(const GlsColor &ambient, const GlsColor &diffuse, const GlsColor &specular, const GlsColor &emission, const float &shininess)
std::string _name
String name of the material.
Definition: material.h:68
float _shininess
Shininess component of the material.
Definition: material.h:66
static bool MaterialsAreEquivalent(const Material &m1, const Material &m2)
Definition: material.h:90
void ApplyEmission(GLenum face=GL_FRONT_AND_BACK)
void Name(const std::string &name)
GL Studio Enumerations and constants.
The Color class: Implements a 4 component RGBA color.
#define GLS_EXPORT
Macro denoting which functions should be visible from the runtime library.
Definition: gls_include.h:50
Definition: bmpimage.h:46
std::ostream & operator<<(std::ostream &outstr, const AttributeName &name)
ColorMaterialMode_e
Definition: display_types.h:140
bool operator!=(const AttributeName &attr1, const AttributeName &attr2)
Definition: disti_metadata.h:165
bool operator==(const AttributeName &attr1, const AttributeName &attr2)
Definition: disti_metadata.h:154
std::istream & operator>>(std::istream &instr, GlsColor &color)
The DistiUnhideGlobalsDummyClass class.