Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
OpenGl_MaterialPBR Struct Reference

OpenGL material definition. More...

#include <OpenGl_Material.hxx>

Public Member Functions

float Metallic () const
 
floatChangeMetallic ()
 
float Roughness () const
 
floatChangeRoughness ()
 
 OpenGl_MaterialPBR ()
 Empty constructor.
 
void SetColor (const NCollection_Vec3< float > &theColor)
 Set material color.
 

Data Fields

NCollection_Vec4< floatBaseColor
 base color of PBR material with alpha component
 
NCollection_Vec4< floatEmissionIOR
 light intensity which is emitted by PBR material and index of refraction
 
NCollection_Vec4< floatParams
 extra packed parameters
 

Detailed Description

OpenGL material definition.

Constructor & Destructor Documentation

◆ OpenGl_MaterialPBR()

OpenGl_MaterialPBR::OpenGl_MaterialPBR ( )
inline

Empty constructor.

Member Function Documentation

◆ ChangeMetallic()

float & OpenGl_MaterialPBR::ChangeMetallic ( )
inline

◆ ChangeRoughness()

float & OpenGl_MaterialPBR::ChangeRoughness ( )
inline

◆ Metallic()

float OpenGl_MaterialPBR::Metallic ( ) const
inline

◆ Roughness()

float OpenGl_MaterialPBR::Roughness ( ) const
inline

◆ SetColor()

void OpenGl_MaterialPBR::SetColor ( const NCollection_Vec3< float > & theColor)
inline

Set material color.

Field Documentation

◆ BaseColor

NCollection_Vec4<float> OpenGl_MaterialPBR::BaseColor

base color of PBR material with alpha component

◆ EmissionIOR

NCollection_Vec4<float> OpenGl_MaterialPBR::EmissionIOR

light intensity which is emitted by PBR material and index of refraction

◆ Params

NCollection_Vec4<float> OpenGl_MaterialPBR::Params

extra packed parameters


The documentation for this struct was generated from the following file: