|
tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
|
PBRT light source representation. More...
#include <tinypbrt/detail/light.h>
Data Fields | ||
| tpbrt_transform_handle_t | transform | |
| Transform handle. | ||
| 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_illuminance | |
| Total luminous power or illuminance emitted by the light. | ||
| tpbrt_media_handle_t | interior_media_handle | |
| Interior media handle. | ||
| tpbrt_media_handle_t | exterior_media_handle | |
| Exterior media handle. | ||
| union { | ||
| tpbrt_light_source_distant_params_t distant | ||
| Distant light source parameters. More... | ||
| tpbrt_light_source_goniometric_params_t goniometric | ||
| Goniometric light source parameters. More... | ||
| tpbrt_light_source_infinite_params_t infinite | ||
| Infinite light source parameters. More... | ||
| tpbrt_light_source_point_params_t point | ||
| Point light source parameters. More... | ||
| tpbrt_light_source_projection_params_t projection | ||
| Projection light source parameters. More... | ||
| tpbrt_light_source_spot_params_t spot | ||
| Spot light source parameters. More... | ||
| } | as | |
| Value dependent on type value. | ||
| tpbrt_light_source_type_t | type: 4 | |
| Light value type. | ||
PBRT light source representation.
| tpbrt_transform_handle_t tpbrt_light_source_t::transform |
Transform handle.
| tpbrt_float_t tpbrt_light_source_t::scale |
Scale factor that modulates the amount of light that the light source emits into the scene.
| tpbrt_opt_float_t tpbrt_light_source_t::power_illuminance |
Total luminous power or illuminance emitted by the light.
| tpbrt_media_handle_t tpbrt_light_source_t::interior_media_handle |
Interior media handle.
| tpbrt_media_handle_t tpbrt_light_source_t::exterior_media_handle |
Exterior media handle.
| tpbrt_light_source_distant_params_t tpbrt_light_source_t::distant |
Distant light source parameters.
| tpbrt_light_source_goniometric_params_t tpbrt_light_source_t::goniometric |
Goniometric light source parameters.
| tpbrt_light_source_infinite_params_t tpbrt_light_source_t::infinite |
Infinite light source parameters.
| tpbrt_light_source_point_params_t tpbrt_light_source_t::point |
Point light source parameters.
| tpbrt_light_source_projection_params_t tpbrt_light_source_t::projection |
Projection light source parameters.
| tpbrt_light_source_spot_params_t tpbrt_light_source_t::spot |
Spot light source parameters.
| union { ... } tpbrt_light_source_t::as |
Value dependent on type value.
| tpbrt_light_source_type_t tpbrt_light_source_t::type |
Light value type.