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