C++ wrapper for tpbrt_area_light_t.
More...
#include <tinypbrt/detail/cpp/light.hpp>
◆ idx()
◆ scale()
| constexpr float_t tpbrt::area_light::scale |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ power()
| constexpr opt_float tpbrt::area_light::power |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ type()
◆ is_diffuse()
| constexpr bool_t tpbrt::area_light::is_diffuse |
( |
| ) |
const |
|
inlineconstexprnoexcept |
Returns true if type is diffuse.
◆ as_diffuse()
Returns diffuse parameters (std::nullopt if the type is different).
◆ to_variant()
| constexpr variant_type tpbrt::area_light::to_variant |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ reflect()
| constexpr auto tpbrt::area_light::reflect |
( |
| ) |
const |
|
inlineconstexprnoexcept |
The documentation for this struct was generated from the following file: