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

C++ wrapper for tpbrt_material_handle_t. More...

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

Public Member Functions

constexpr material_idx_t material_idx () const noexcept
 Returns material_idx value.
 
constexpr auto reflect () const noexcept
 Conversion to tuple.
 

Detailed Description

C++ wrapper for tpbrt_material_handle_t.

Member Function Documentation

◆ material_idx()

constexpr material_idx_t tpbrt::material_handle::material_idx ( ) const
inlineconstexprnoexcept

Returns material_idx value.

◆ reflect()

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

Conversion to tuple.


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