|
tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
|
PBRT Spectrum representation. More...
#include <tinypbrt/detail/color.h>
Data Fields | ||
| union { | ||
| tpbrt_wavelength_array_t wavelengths | ||
| Array of pairs (wavelength, value). More... | ||
| tpbrt_rgb_t rgb | ||
| RGB value. More... | ||
| tpbrt_blackbody_t blackbody | ||
| Blackbody temperature in Kelvins. More... | ||
| tpbrt_string_t file_name | ||
| Filename of file which contains wavelengths array. More... | ||
| tpbrt_spectrum_builtin_t builtin: 7 | ||
| Builtin value. More... | ||
| tpbrt_float_t constant | ||
| Constant value. More... | ||
| } | as | |
| Value dependent on type value. | ||
| tpbrt_spectrum_type_t | type: 4 | |
| value type. | ||
PBRT Spectrum representation.
| tpbrt_wavelength_array_t tpbrt_spectrum_t::wavelengths |
Array of pairs (wavelength, value).
| tpbrt_rgb_t tpbrt_spectrum_t::rgb |
RGB value.
| tpbrt_blackbody_t tpbrt_spectrum_t::blackbody |
Blackbody temperature in Kelvins.
| tpbrt_string_t tpbrt_spectrum_t::file_name |
Filename of file which contains wavelengths array.
| tpbrt_spectrum_builtin_t tpbrt_spectrum_t::builtin |
Builtin value.
| tpbrt_float_t tpbrt_spectrum_t::constant |
Constant value.
| union { ... } tpbrt_spectrum_t::as |
Value dependent on type value.
| tpbrt_spectrum_type_t tpbrt_spectrum_t::type |
value type.