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

C++ wrapper for tpbrt_lights_list_t. More...

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

Public Member Functions

constexpr lights_sources_list lights_sources () const noexcept
 Returns lights_sources value.
 
constexpr area_lights_list area_lights () const noexcept
 Returns area_lights value.
 
constexpr auto reflect () const noexcept
 Conversion to tuple.
 

Detailed Description

C++ wrapper for tpbrt_lights_list_t.

Member Function Documentation

◆ lights_sources()

constexpr lights_sources_list tpbrt::lights_list::lights_sources ( ) const
inlineconstexprnoexcept

Returns lights_sources value.

Examples
examples/cpp/quickstart/main.cpp.

◆ area_lights()

constexpr area_lights_list tpbrt::lights_list::area_lights ( ) const
inlineconstexprnoexcept

Returns area_lights value.

Examples
examples/cpp/quickstart/main.cpp.

◆ reflect()

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

Conversion to tuple.


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