Open CASCADE Technology  7.5.0
Data Structures | Public Member Functions | Data Fields

OpenGl_RaytraceMaterial Struct Reference

Stores properties of surface material. More...

#include <OpenGl_SceneGeometry.hxx>

Data Structures

struct  Physical
 Physically-based material properties (used in path tracing engine). More...
 

Public Member Functions

 OpenGl_RaytraceMaterial ()
 Empty constructor. More...
 
const Standard_ShortRealPacked ()
 Returns packed (serialized) representation of material. More...
 

Data Fields

BVH_Vec4f Ambient
 Ambient reflection coefficient. More...
 
BVH_Vec4f Diffuse
 Diffuse reflection coefficient. More...
 
BVH_Vec4f Specular
 Glossy reflection coefficient. More...
 
BVH_Vec4f Emission
 Material emission. More...
 
BVH_Vec4f Reflection
 Specular reflection coefficient. More...
 
BVH_Vec4f Refraction
 Specular refraction coefficient. More...
 
BVH_Vec4f Transparency
 Material transparency. More...
 
BVH_Mat4f TextureTransform
 Texture transformation matrix. More...
 
struct OpenGl_RaytraceMaterial::Physical BSDF
 

Detailed Description

Stores properties of surface material.

Constructor & Destructor Documentation

◆ OpenGl_RaytraceMaterial()

OpenGl_RaytraceMaterial::OpenGl_RaytraceMaterial ( )

Empty constructor.

Member Function Documentation

◆ Packed()

const Standard_ShortReal* OpenGl_RaytraceMaterial::Packed ( )
inline

Returns packed (serialized) representation of material.

Field Documentation

◆ Ambient

BVH_Vec4f OpenGl_RaytraceMaterial::Ambient

Ambient reflection coefficient.

◆ BSDF

struct OpenGl_RaytraceMaterial::Physical OpenGl_RaytraceMaterial::BSDF

◆ Diffuse

BVH_Vec4f OpenGl_RaytraceMaterial::Diffuse

Diffuse reflection coefficient.

◆ Emission

BVH_Vec4f OpenGl_RaytraceMaterial::Emission

Material emission.

◆ Reflection

BVH_Vec4f OpenGl_RaytraceMaterial::Reflection

Specular reflection coefficient.

◆ Refraction

BVH_Vec4f OpenGl_RaytraceMaterial::Refraction

Specular refraction coefficient.

◆ Specular

BVH_Vec4f OpenGl_RaytraceMaterial::Specular

Glossy reflection coefficient.

◆ TextureTransform

BVH_Mat4f OpenGl_RaytraceMaterial::TextureTransform

Texture transformation matrix.

◆ Transparency

BVH_Vec4f OpenGl_RaytraceMaterial::Transparency

Material transparency.


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