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

C++ wrapper for tpbrt_material_conductor_params_t. More...

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

Public Member Functions

constexpr material_bump_map_params bump_map () const noexcept
 Returns bump_map value.
 
constexpr material_roughness_params roughness_params () const noexcept
 Returns roughness_params value.
 
constexpr material_conductor_value_type value_type () const noexcept
 Returns value_type value.
 
constexpr bool_t is_eta_k () const noexcept
 Returns true if type is eta_k.
 
constexpr bool_t is_reflectance () const noexcept
 Returns true if type is reflectance.
 
constexpr std::optional< material_conductor_eta_k > as_eta_k () const noexcept
 Returns eta_k parameters (std::nullopt if the type is different).
 
constexpr std::optional< texture_handle > as_reflectance () const noexcept
 Returns reflectance parameters (std::nullopt if the type is different).
 
constexpr variant_type to_variant () const noexcept
 Conversion to variant.
 
constexpr auto reflect () const noexcept
 Conversion to tuple.
 

Detailed Description

Member Function Documentation

◆ bump_map()

constexpr material_bump_map_params tpbrt::material_conductor_params::bump_map ( ) const
inlineconstexprnoexcept

Returns bump_map value.

◆ roughness_params()

constexpr material_roughness_params tpbrt::material_conductor_params::roughness_params ( ) const
inlineconstexprnoexcept

Returns roughness_params value.

◆ value_type()

constexpr material_conductor_value_type tpbrt::material_conductor_params::value_type ( ) const
inlineconstexprnoexcept

Returns value_type value.

◆ is_eta_k()

constexpr bool_t tpbrt::material_conductor_params::is_eta_k ( ) const
inlineconstexprnoexcept

Returns true if type is eta_k.

◆ is_reflectance()

constexpr bool_t tpbrt::material_conductor_params::is_reflectance ( ) const
inlineconstexprnoexcept

Returns true if type is reflectance.

◆ as_eta_k()

constexpr std::optional< material_conductor_eta_k > tpbrt::material_conductor_params::as_eta_k ( ) const
inlineconstexprnoexcept

Returns eta_k parameters (std::nullopt if the type is different).

◆ as_reflectance()

constexpr std::optional< texture_handle > tpbrt::material_conductor_params::as_reflectance ( ) const
inlineconstexprnoexcept

Returns reflectance parameters (std::nullopt if the type is different).

◆ to_variant()

constexpr variant_type tpbrt::material_conductor_params::to_variant ( ) const
inlineconstexprnoexcept

Conversion to variant.

◆ reflect()

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

Conversion to tuple.


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