C++ wrapper for tpbrt_texture_handle_t.
More...
#include <tinypbrt/detail/cpp/texture.hpp>
◆ value_type()
Returns value_type value.
◆ is_texture_idx()
| constexpr bool_t tpbrt::texture_handle::is_texture_idx |
( |
| ) |
const |
|
inlineconstexprnoexcept |
Returns true if type is texture_idx.
◆ is_spectrum()
| constexpr bool_t tpbrt::texture_handle::is_spectrum |
( |
| ) |
const |
|
inlineconstexprnoexcept |
Returns true if type is spectrum.
◆ as_texture_idx()
| constexpr std::optional< texture_idx_t > tpbrt::texture_handle::as_texture_idx |
( |
| ) |
const |
|
inlineconstexprnoexcept |
Returns texture handle value as texture_idx.
◆ as_spectrum()
| constexpr std::optional< spectrum > tpbrt::texture_handle::as_spectrum |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ to_variant()
| constexpr variant_type tpbrt::texture_handle::to_variant |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ reflect()
| constexpr auto tpbrt::texture_handle::reflect |
( |
| ) |
const |
|
inlineconstexprnoexcept |
The documentation for this struct was generated from the following file: