tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
Loading...
Searching...
No Matches
tpbrt::light_source_spot_params Struct Reference

C++ wrapper for tpbrt_light_source_spot_params_t. More...

#include <tinypbrt/detail/cpp/light.hpp>

Public Member Functions

constexpr spectrum i () const noexcept
 Returns i value.
 
constexpr point from () const noexcept
 Returns from value.
 
constexpr point to () const noexcept
 Returns to value.
 
constexpr float_t cone_angle () const noexcept
 Returns cone_angle value.
 
constexpr float_t cone_delta_angle () const noexcept
 Returns cone_delta_angle value.
 
constexpr auto reflect () const noexcept
 Conversion to tuple.
 

Detailed Description

Member Function Documentation

◆ i()

constexpr spectrum tpbrt::light_source_spot_params::i ( ) const
inlineconstexprnoexcept

Returns i value.

◆ from()

constexpr point tpbrt::light_source_spot_params::from ( ) const
inlineconstexprnoexcept

Returns from value.

◆ to()

constexpr point tpbrt::light_source_spot_params::to ( ) const
inlineconstexprnoexcept

Returns to value.

◆ cone_angle()

constexpr float_t tpbrt::light_source_spot_params::cone_angle ( ) const
inlineconstexprnoexcept

Returns cone_angle value.

◆ cone_delta_angle()

constexpr float_t tpbrt::light_source_spot_params::cone_delta_angle ( ) const
inlineconstexprnoexcept

Returns cone_delta_angle value.

◆ reflect()

constexpr auto tpbrt::light_source_spot_params::reflect ( ) const
inlineconstexprnoexcept

Conversion to tuple.


The documentation for this struct was generated from the following file: