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

#include <MicrosurfaceInfo.h>

Public Member Functions

std::unique_ptr< MicrofacetgenMicrofacet (EInterfaceMicrosurface defaultType=EInterfaceMicrosurface::TrowbridgeReitz) const
 
bool isIsotropic () const
 
real getIsotropicRoughness () const
 
std::pair< real, real > getAnisotropicUVRoughnesses () const
 
 PH_DEFINE_SDL_STRUCT (TSdlOwnerStruct< MicrosurfaceInfo >)
 

Member Function Documentation

◆ genMicrofacet()

std::unique_ptr< Microfacet > ph::MicrosurfaceInfo::genMicrofacet ( EInterfaceMicrosurface defaultType = EInterfaceMicrosurface::TrowbridgeReitz) const
Parameters
defaultTypeThe default microsurface type to use if unspecified.
Returns
The generated microfacet describing the microsurface.

◆ getAnisotropicUVRoughnesses()

std::pair< real, real > ph::MicrosurfaceInfo::getAnisotropicUVRoughnesses ( ) const
inline

◆ getIsotropicRoughness()

real ph::MicrosurfaceInfo::getIsotropicRoughness ( ) const
inline

◆ isIsotropic()

bool ph::MicrosurfaceInfo::isIsotropic ( ) const
inline

◆ PH_DEFINE_SDL_STRUCT()

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

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