41#ifndef INCLUDED_DISTI_MATERIAL_H
42#define INCLUDED_DISTI_MATERIAL_H
86 const float& shininess );
Definition: gls_color.h:54
Definition: material.h:56
GlsColor _ambient
Ambient component of the material.
Definition: material.h:64
GlsColor _emission
Emission component of the material.
Definition: material.h:67
void ApplyShininess(GLenum face=GL_FRONT_AND_BACK)
ColorMaterialMode_e _colorMaterialMode
Color mode to use for this material.
Definition: material.h:71
static GlsColor _emissionDefault
The emission value for the default material.
Definition: material.h:61
static float _shininessDefault
The shininess value for the default material.
Definition: material.h:62
static GlsColor _ambientDefault
The ambient value for the default material.
Definition: material.h:58
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:60
const std::string & Name() const
GlsColor _specular
Specular component of the material.
Definition: material.h:66
void ApplyAmbient(GLenum face=GL_FRONT_AND_BACK)
bool _inUse
True if the material is in use.
Definition: material.h:69
void ApplySpecular(GLenum face=GL_FRONT_AND_BACK)
GlsColor _diffuse
Diffuse component of the material.
Definition: material.h:65
static GlsColor _diffuseDefault
The diffuse value for the default material.
Definition: material.h:59
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:70
float _shininess
Shininess component of the material.
Definition: material.h:68
static bool MaterialsAreEquivalent(const Material &m1, const Material &m2)
Definition: material.h:92
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:52
Force inclusion of the DirectShow library.
Definition: bmpimage.h:47
std::ostream & operator<<(std::ostream &outstr, const AttributeName &name)
ColorMaterialMode_e
Definition: display_types.h:141
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.