|
Open CASCADE Technology
7.5.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. 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 | 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 |
|
inlinestatic |
|
inline |
Returns packed (serialized) representation of material properties.
|
inline |
| 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