Open CASCADE Technology
7.6.0
|
OpenGL material definition. More...
#include <OpenGl_Material.hxx>
Public Member Functions | |
float | Shine () const |
float & | ChangeShine () |
OpenGl_MaterialCommon () | |
Empty constructor. More... | |
void | SetColor (const OpenGl_Vec3 &theColor) |
Set material color. More... | |
Data Fields | |
OpenGl_Vec4 | Diffuse |
diffuse RGB coefficients + alpha More... | |
OpenGl_Vec4 | Emission |
material RGB emission More... | |
OpenGl_Vec4 | SpecularShininess |
glossy RGB coefficients + shininess More... | |
OpenGl_Vec4 | Ambient |
ambient RGB coefficients More... | |
OpenGL material definition.
|
inline |
Empty constructor.
|
inline |
|
inline |
Set material color.
|
inline |
OpenGl_Vec4 OpenGl_MaterialCommon::Ambient |
ambient RGB coefficients
OpenGl_Vec4 OpenGl_MaterialCommon::Diffuse |
diffuse RGB coefficients + alpha
OpenGl_Vec4 OpenGl_MaterialCommon::Emission |
material RGB emission
OpenGl_Vec4 OpenGl_MaterialCommon::SpecularShininess |
glossy RGB coefficients + shininess