|
Open CASCADE Technology
7.8.0.dev
|
OpenGL material definition. More...
#include <OpenGl_Material.hxx>
Public Member Functions | |
| float | Metallic () const |
| float & | ChangeMetallic () |
| float | Roughness () const |
| float & | ChangeRoughness () |
| OpenGl_MaterialPBR () | |
| Empty constructor. More... | |
| void | SetColor (const OpenGl_Vec3 &theColor) |
| Set material color. More... | |
Data Fields | |
| OpenGl_Vec4 | BaseColor |
| base color of PBR material with alpha component More... | |
| OpenGl_Vec4 | EmissionIOR |
| light intensity which is emitted by PBR material and index of refraction More... | |
| OpenGl_Vec4 | Params |
| extra packed parameters More... | |
OpenGL material definition.
|
inline |
Empty constructor.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Set material color.
| OpenGl_Vec4 OpenGl_MaterialPBR::BaseColor |
base color of PBR material with alpha component
| OpenGl_Vec4 OpenGl_MaterialPBR::EmissionIOR |
light intensity which is emitted by PBR material and index of refraction
| OpenGl_Vec4 OpenGl_MaterialPBR::Params |
extra packed parameters
1.8.13