C++ wrapper for tpbrt_media_scattering_t.
More...
#include <tinypbrt/detail/cpp/media.hpp>
◆ type()
◆ is_sigma()
| constexpr bool_t tpbrt::media_scattering::is_sigma |
( |
| ) |
const |
|
inlineconstexprnoexcept |
Returns true if type is sigma.
◆ is_preset()
| constexpr bool_t tpbrt::media_scattering::is_preset |
( |
| ) |
const |
|
inlineconstexprnoexcept |
Returns true if type is preset.
◆ as_sigma()
| constexpr std::optional< media_sigma > tpbrt::media_scattering::as_sigma |
( |
| ) |
const |
|
inlineconstexprnoexcept |
Returns media scattering value as sigma.
◆ as_preset()
| constexpr std::optional< scattering_builtin > tpbrt::media_scattering::as_preset |
( |
| ) |
const |
|
inlineconstexprnoexcept |
Returns media scattering value as preset.
◆ to_variant()
| constexpr variant_type tpbrt::media_scattering::to_variant |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ reflect()
| constexpr auto tpbrt::media_scattering::reflect |
( |
| ) |
const |
|
inlineconstexprnoexcept |
The documentation for this struct was generated from the following file: