Photon Engine 2.0.0-beta
A physically based renderer.
|
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< DielectricFresnel > | genFresnelEffect () const |
void | setFresnel (EInterfaceFresnel fresnel) |
void | setIorOuter (real iorOuter) |
void | setIorInner (real iorInner) |
PH_DEFINE_SDL_STRUCT (TSdlOwnerStruct< DielectricInterfaceInfo >) | |
Data describing the effects when light hits an dielectric interface.
Contains data and procedures for generating fresnel effects of dielectric-dielectric interface.
ph::DielectricInterfaceInfo::DielectricInterfaceInfo | ( | ) |
ph::DielectricInterfaceInfo::DielectricInterfaceInfo | ( | EInterfaceFresnel | fresnel, |
real | iorOuter, | ||
real | iorInner ) |
std::unique_ptr< DielectricFresnel > ph::DielectricInterfaceInfo::genFresnelEffect | ( | ) | const |
|
inline |
void ph::DielectricInterfaceInfo::setFresnel | ( | EInterfaceFresnel | fresnel | ) |
void ph::DielectricInterfaceInfo::setIorInner | ( | real | iorInner | ) |
void ph::DielectricInterfaceInfo::setIorOuter | ( | real | iorOuter | ) |