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

Absorption and scattering coefficients of the subsurface material. More...

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

Public Member Functions

constexpr texture_handle sigma_a () const noexcept
 Returns absorption coefficient of the volume, measured in mm^-1.
 
constexpr texture_handle sigma_s () const noexcept
 Returns scattering coefficient of the volume, measured in mm^-1.
 
constexpr auto reflect () const noexcept
 Conversion to tuple.
 

Detailed Description

Absorption and scattering coefficients of the subsurface material.

Member Function Documentation

◆ sigma_a()

constexpr texture_handle tpbrt::material_subsurface_sigma::sigma_a ( ) const
inlineconstexprnoexcept

Returns absorption coefficient of the volume, measured in mm^-1.

◆ sigma_s()

constexpr texture_handle tpbrt::material_subsurface_sigma::sigma_s ( ) const
inlineconstexprnoexcept

Returns scattering coefficient of the volume, measured in mm^-1.

◆ reflect()

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

Conversion to tuple.


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