tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
Loading...
Searching...
No Matches
tpbrt::media_sigma Struct Reference

Absorption and scattering cross sections of the media. More...

#include <tinypbrt/detail/cpp/media.hpp>

Public Member Functions

constexpr spectrum sigma_a () const noexcept
 Returns the absorption cross section.
 
constexpr spectrum sigma_s () const noexcept
 Returns the scattering cross section.
 
constexpr auto reflect () const noexcept
 Conversion to tuple.
 

Detailed Description

Absorption and scattering cross sections of the media.

Member Function Documentation

◆ sigma_a()

constexpr spectrum tpbrt::media_sigma::sigma_a ( ) const
inlineconstexprnoexcept

Returns the absorption cross section.

◆ sigma_s()

constexpr spectrum tpbrt::media_sigma::sigma_s ( ) const
inlineconstexprnoexcept

Returns the scattering cross section.

◆ reflect()

constexpr auto tpbrt::media_sigma::reflect ( ) const
inlineconstexprnoexcept

Conversion to tuple.


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