Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::DielectricInterfaceInfo Class Referencefinal

Data describing the effects when light hits an dielectric interface. More...

#include <DielectricInterfaceInfo.h>

Public Member Functions

 DielectricInterfaceInfo ()
 
 DielectricInterfaceInfo (EInterfaceFresnel fresnel, real iorOuter, real iorInner)
 
std::unique_ptr< DielectricFresnelgenFresnelEffect () const
 
void setFresnel (EInterfaceFresnel fresnel)
 
void setIorOuter (real iorOuter)
 
void setIorInner (real iorInner)
 
 PH_DEFINE_SDL_STRUCT (TSdlOwnerStruct< DielectricInterfaceInfo >)
 

Detailed Description

Data describing the effects when light hits an dielectric interface.

Contains data and procedures for generating fresnel effects of dielectric-dielectric interface.

Constructor & Destructor Documentation

◆ DielectricInterfaceInfo() [1/2]

ph::DielectricInterfaceInfo::DielectricInterfaceInfo ( )

◆ DielectricInterfaceInfo() [2/2]

ph::DielectricInterfaceInfo::DielectricInterfaceInfo ( EInterfaceFresnel fresnel,
real iorOuter,
real iorInner )

Member Function Documentation

◆ genFresnelEffect()

std::unique_ptr< DielectricFresnel > ph::DielectricInterfaceInfo::genFresnelEffect ( ) const

◆ PH_DEFINE_SDL_STRUCT()

ph::DielectricInterfaceInfo::PH_DEFINE_SDL_STRUCT ( TSdlOwnerStruct< DielectricInterfaceInfo > )
inline

◆ setFresnel()

void ph::DielectricInterfaceInfo::setFresnel ( EInterfaceFresnel fresnel)

◆ setIorInner()

void ph::DielectricInterfaceInfo::setIorInner ( real iorInner)

◆ setIorOuter()

void ph::DielectricInterfaceInfo::setIorOuter ( real iorOuter)

The documentation for this class was generated from the following files: