C++ wrapper for tpbrt_media_t.
More...
#include <tinypbrt/detail/cpp/media.hpp>
C++ wrapper for tpbrt_media_t.
◆ idx()
◆ transform()
◆ name()
| constexpr string tpbrt::media::name |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ type()
◆ is_cloud()
| constexpr bool_t tpbrt::media::is_cloud |
( |
| ) |
const |
|
inlineconstexprnoexcept |
Returns true if type is cloud.
◆ is_homogeneous()
| constexpr bool_t tpbrt::media::is_homogeneous |
( |
| ) |
const |
|
inlineconstexprnoexcept |
Returns true if type is homogeneous.
◆ is_uniform_grid()
| constexpr bool_t tpbrt::media::is_uniform_grid |
( |
| ) |
const |
|
inlineconstexprnoexcept |
Returns true if type is uniform_grid.
◆ is_rgb_grid()
| constexpr bool_t tpbrt::media::is_rgb_grid |
( |
| ) |
const |
|
inlineconstexprnoexcept |
Returns true if type is rgb_grid.
◆ is_nano_vdb()
| constexpr bool_t tpbrt::media::is_nano_vdb |
( |
| ) |
const |
|
inlineconstexprnoexcept |
Returns true if type is nano_vdb.
◆ as_cloud()
Returns cloud parameters (std::nullopt if the type is different).
◆ as_homogeneous()
Returns homogeneous parameters (std::nullopt if the type is different).
◆ as_uniform_grid()
Returns uniform_grid parameters (std::nullopt if the type is different).
◆ as_rgb_grid()
Returns rgb_grid parameters (std::nullopt if the type is different).
◆ as_nano_vdb()
Returns nano_vdb parameters (std::nullopt if the type is different).
◆ to_variant()
| constexpr variant_type tpbrt::media::to_variant |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ reflect()
| constexpr auto tpbrt::media::reflect |
( |
| ) |
const |
|
inlineconstexprnoexcept |
The documentation for this struct was generated from the following file: