|
tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
|
PBRT area light representation. More...
#include <tinypbrt/detail/light.h>
Data Fields | ||
| tpbrt_area_light_idx_t | idx | |
| Area light index. | ||
| tpbrt_float_t | scale | |
| Scale factor that modulates the amount of light that the light source emits into the scene. | ||
| tpbrt_opt_float_t | power | |
| Total luminous power or illuminance emitted by the light. | ||
| union { | ||
| tpbrt_area_light_diffuse_params_t diffuse | ||
| Diffuse area light parameters. More... | ||
| } | as | |
| Value dependent on type value. | ||
| tpbrt_area_light_type_t | type: 2 | |
| Area light value type. | ||
PBRT area light representation.
| tpbrt_area_light_idx_t tpbrt_area_light_t::idx |
Area light index.
| tpbrt_float_t tpbrt_area_light_t::scale |
Scale factor that modulates the amount of light that the light source emits into the scene.
| tpbrt_opt_float_t tpbrt_area_light_t::power |
Total luminous power or illuminance emitted by the light.
| tpbrt_area_light_diffuse_params_t tpbrt_area_light_t::diffuse |
Diffuse area light parameters.
| union { ... } tpbrt_area_light_t::as |
Value dependent on type value.
| tpbrt_area_light_type_t tpbrt_area_light_t::type |
Area light value type.