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

C++ wrapper for tpbrt_material_roughness_params_t. More...

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

Public Member Functions

constexpr texture_handle roughness () const noexcept
 Returns roughness value.
 
constexpr texture_handle u_roughness () const noexcept
 Returns u_roughness value.
 
constexpr texture_handle v_roughness () const noexcept
 Returns v_roughness value.
 
constexpr bool_t remap_roughness () const noexcept
 Returns remap_roughness value.
 
constexpr auto reflect () const noexcept
 Conversion to tuple.
 

Detailed Description

Member Function Documentation

◆ roughness()

constexpr texture_handle tpbrt::material_roughness_params::roughness ( ) const
inlineconstexprnoexcept

Returns roughness value.

◆ u_roughness()

constexpr texture_handle tpbrt::material_roughness_params::u_roughness ( ) const
inlineconstexprnoexcept

Returns u_roughness value.

◆ v_roughness()

constexpr texture_handle tpbrt::material_roughness_params::v_roughness ( ) const
inlineconstexprnoexcept

Returns v_roughness value.

◆ remap_roughness()

constexpr bool_t tpbrt::material_roughness_params::remap_roughness ( ) const
inlineconstexprnoexcept

Returns remap_roughness value.

◆ reflect()

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

Conversion to tuple.


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