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

C++ wrapper for tpbrt_object_handle_t. More...

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

Public Member Functions

constexpr object_idx_t object_idx () const noexcept
 Returns object_idx value.
 
constexpr auto reflect () const noexcept
 Conversion to tuple.
 

Detailed Description

C++ wrapper for tpbrt_object_handle_t.

Member Function Documentation

◆ object_idx()

constexpr object_idx_t tpbrt::object_handle::object_idx ( ) const
inlineconstexprnoexcept

Returns object_idx value.

◆ reflect()

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

Conversion to tuple.


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