![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
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. | |
| void | SetColor (const NCollection_Vec3< float > &theColor) |
| Set material color. | |
Data Fields | |
| NCollection_Vec4< float > | BaseColor |
| base color of PBR material with alpha component | |
| NCollection_Vec4< float > | EmissionIOR |
| light intensity which is emitted by PBR material and index of refraction | |
| NCollection_Vec4< float > | Params |
| extra packed parameters | |
OpenGL material definition.
|
inline |
Empty constructor.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Set material color.
| NCollection_Vec4<float> OpenGl_MaterialPBR::BaseColor |
base color of PBR material with alpha component
| NCollection_Vec4<float> OpenGl_MaterialPBR::EmissionIOR |
light intensity which is emitted by PBR material and index of refraction
| NCollection_Vec4<float> OpenGl_MaterialPBR::Params |
extra packed parameters