|
tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
|
C++ wrapper for tpbrt_texture_mapping_spherical_params_t, shared by the spherical and cylindrical mappings. More...
#include <tinypbrt/detail/cpp/texture.hpp>
Public Member Functions | |
| constexpr transform_handle | transform () const noexcept |
| Returns transform value. | |
| constexpr auto | reflect () const noexcept |
| Conversion to tuple. | |
Static Public Attributes | |
| static constexpr texture_mapping | TextureMapping = Mapping |
| Mapping described by these parameters. | |
C++ wrapper for tpbrt_texture_mapping_spherical_params_t, shared by the spherical and cylindrical mappings.
The mapping is a template parameter, so both mappings get their own type (see texture_noise_params).
| Mapping | Texture mapping (SPHERICAL or CYLINDRICAL). |
|
inlineconstexprnoexcept |
Returns transform value.
|
inlineconstexprnoexcept |
Conversion to tuple.
|
staticconstexpr |
Mapping described by these parameters.