Open CASCADE Technology
7.5.0
|
OpenGL material definition. More...
#include <OpenGl_Material.hxx>
Public Member Functions | |
float | Shine () const |
float & | ChangeShine () |
float | Transparency () const |
float & | ChangeTransparency () |
OpenGl_MaterialCommon () | |
Empty constructor. More... | |
const OpenGl_Vec4 * | Packed () const |
Returns packed (serialized) representation of material properties. More... | |
Static Public Member Functions | |
static Standard_Integer | NbOfVec4 () |
Data Fields | |
OpenGl_Vec4 | Ambient |
ambient reflection coefficient More... | |
OpenGl_Vec4 | Diffuse |
diffuse reflection coefficient More... | |
OpenGl_Vec4 | Specular |
glossy reflection coefficient More... | |
OpenGl_Vec4 | Emission |
material emission More... | |
OpenGl_Vec4 | Params |
extra packed parameters More... | |
OpenGL material definition.
|
inline |
Empty constructor.
|
inline |
|
inline |
|
inlinestatic |
|
inline |
Returns packed (serialized) representation of material properties.
|
inline |
|
inline |
OpenGl_Vec4 OpenGl_MaterialCommon::Ambient |
ambient reflection coefficient
OpenGl_Vec4 OpenGl_MaterialCommon::Diffuse |
diffuse reflection coefficient
OpenGl_Vec4 OpenGl_MaterialCommon::Emission |
material emission
OpenGl_Vec4 OpenGl_MaterialCommon::Params |
extra packed parameters
OpenGl_Vec4 OpenGl_MaterialCommon::Specular |
glossy reflection coefficient