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_infinite_params Struct Reference

C++ wrapper for tpbrt_light_source_infinite_params_t. More...

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

Public Types

using portal_type = array< tpbrt_point3_t[4], point3 >
 Used to read portal array.
 

Public Member Functions

constexpr string file_name () const noexcept
 Returns file_name value.
 
constexpr portal_type portal () const noexcept
 Returns portal value.
 
constexpr spectrum l () const noexcept
 Returns l value.
 
constexpr auto reflect () const noexcept
 Conversion to tuple.
 

Detailed Description

Member Typedef Documentation

◆ portal_type

Member Function Documentation

◆ file_name()

constexpr string tpbrt::light_source_infinite_params::file_name ( ) const
inlineconstexprnoexcept

Returns file_name value.

◆ portal()

constexpr portal_type tpbrt::light_source_infinite_params::portal ( ) const
inlineconstexprnoexcept

Returns portal value.

◆ l()

constexpr spectrum tpbrt::light_source_infinite_params::l ( ) const
inlineconstexprnoexcept

Returns l value.

◆ reflect()

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

Conversion to tuple.


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