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

C++ wrapper for tpbrt_media_handle_t. More...

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

Public Member Functions

constexpr media_idx_t media_idx () const noexcept
 Returns media_idx value.
 
constexpr auto reflect () const noexcept
 Conversion to tuple.
 

Detailed Description

C++ wrapper for tpbrt_media_handle_t.

Member Function Documentation

◆ media_idx()

constexpr media_idx_t tpbrt::media_handle::media_idx ( ) const
inlineconstexprnoexcept

Returns media_idx value.

◆ reflect()

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

Conversion to tuple.


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