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

The environment a BSDF query is performed under. More...

#include <BsdfQueryContext.h>

Public Member Functions

 BsdfQueryContext ()=default
 
 BsdfQueryContext (SurfaceElemental elemental)
 
 BsdfQueryContext (lta::ESidednessPolicy sidednessPolicy)
 
 BsdfQueryContext (SurfaceElemental elemental, lta::ETransport transport, lta::ESidednessPolicy sidednessPolicy=lta::ESidednessPolicy::Strict)
 

Public Attributes

SurfaceElemental elemental = ALL_SURFACE_ELEMENTALS
 
lta::ETransport transport = lta::ETransport::Radiance
 
lta::SidednessAgreement sidedness = lta::SidednessAgreement{lta::ESidednessPolicy::Strict}
 

Detailed Description

The environment a BSDF query is performed under.

Constructor & Destructor Documentation

◆ BsdfQueryContext() [1/4]

ph::BsdfQueryContext::BsdfQueryContext ( )
default

◆ BsdfQueryContext() [2/4]

ph::BsdfQueryContext::BsdfQueryContext ( SurfaceElemental elemental)
inlineexplicit

◆ BsdfQueryContext() [3/4]

ph::BsdfQueryContext::BsdfQueryContext ( lta::ESidednessPolicy sidednessPolicy)
inlineexplicit

◆ BsdfQueryContext() [4/4]

ph::BsdfQueryContext::BsdfQueryContext ( SurfaceElemental elemental,
lta::ETransport transport,
lta::ESidednessPolicy sidednessPolicy = lta::ESidednessPolicy::Strict )
inline

Member Data Documentation

◆ elemental

SurfaceElemental ph::BsdfQueryContext::elemental = ALL_SURFACE_ELEMENTALS

◆ sidedness

◆ transport

lta::ETransport ph::BsdfQueryContext::transport = lta::ETransport::Radiance

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