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

C++ wrapper for tpbrt_material_coated_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 texture_handle albedo () const noexcept
 Returns albedo value.
 
constexpr texture_handle g () const noexcept
 Returns g value.
 
constexpr uint_t max_depth () const noexcept
 Returns max_depth value.
 
constexpr uint_t n_samples () const noexcept
 Returns n_samples value.
 
constexpr material_roughness_params conductor_roughness_params () const noexcept
 Returns conductor_roughness_params value.
 
constexpr material_roughness_params interface_roughness_params () const noexcept
 Returns interface_roughness_params value.
 
constexpr float_t thickness () const noexcept
 Returns thickness 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_coated_conductor_eta_k > as_eta_k () const noexcept
 Returns eta_k parameters (std::nullopt if the type is different).
 
constexpr std::optional< spectrum > 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_coated_conductor_params::bump_map ( ) const
inlineconstexprnoexcept

Returns bump_map value.

◆ albedo()

constexpr texture_handle tpbrt::material_coated_conductor_params::albedo ( ) const
inlineconstexprnoexcept

Returns albedo value.

◆ g()

constexpr texture_handle tpbrt::material_coated_conductor_params::g ( ) const
inlineconstexprnoexcept

Returns g value.

◆ max_depth()

constexpr uint_t tpbrt::material_coated_conductor_params::max_depth ( ) const
inlineconstexprnoexcept

Returns max_depth value.

◆ n_samples()

constexpr uint_t tpbrt::material_coated_conductor_params::n_samples ( ) const
inlineconstexprnoexcept

Returns n_samples value.

◆ conductor_roughness_params()

constexpr material_roughness_params tpbrt::material_coated_conductor_params::conductor_roughness_params ( ) const
inlineconstexprnoexcept

Returns conductor_roughness_params value.

◆ interface_roughness_params()

constexpr material_roughness_params tpbrt::material_coated_conductor_params::interface_roughness_params ( ) const
inlineconstexprnoexcept

Returns interface_roughness_params value.

◆ thickness()

constexpr float_t tpbrt::material_coated_conductor_params::thickness ( ) const
inlineconstexprnoexcept

Returns thickness value.

◆ value_type()

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

Returns value_type value.

◆ is_eta_k()

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

Returns true if type is eta_k.

◆ is_reflectance()

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

Returns true if type is reflectance.

◆ as_eta_k()

constexpr std::optional< material_coated_conductor_eta_k > tpbrt::material_coated_conductor_params::as_eta_k ( ) const
inlineconstexprnoexcept

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

◆ as_reflectance()

constexpr std::optional< spectrum > tpbrt::material_coated_conductor_params::as_reflectance ( ) const
inlineconstexprnoexcept

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

◆ to_variant()

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

Conversion to variant.

◆ reflect()

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

Conversion to tuple.


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