|
tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
|
C++ wrapper for tpbrt_texture_fbm_params_t, shared by the fbm, wrinkled and windy textures. More...
#include <tinypbrt/detail/cpp/texture.hpp>
Public Member Functions | |
| constexpr uint_t | octaves () const noexcept |
| Returns octaves value. | |
| constexpr float_t | roughness () const noexcept |
| Returns roughness value. | |
| constexpr transform_handle | transform () const noexcept |
| Returns transform value. | |
| constexpr auto | reflect () const noexcept |
| Conversion to tuple. | |
Static Public Attributes | |
| static constexpr texture_class | TextureClass = Class |
| Texture class described by these parameters. | |
C++ wrapper for tpbrt_texture_fbm_params_t, shared by the fbm, wrinkled and windy textures.
The texture class is a template parameter, so every texture class gets its own type (a type alias would make them the same type and std::visit could not tell fbm, wrinkled and windy apart).
| Class | Texture class (FBM, WRINKLED or WINDY). |
|
inlineconstexprnoexcept |
Returns octaves value.
|
inlineconstexprnoexcept |
Returns roughness value.
|
inlineconstexprnoexcept |
Returns transform value.
|
inlineconstexprnoexcept |
Conversion to tuple.
|
staticconstexpr |
Texture class described by these parameters.