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

C++ wrapper for tpbrt_camera_realistic_aperture_t. More...

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

Public Member Functions

constexpr camera_realistic_aperture_type type () const noexcept
 Returns type value.
 
constexpr bool_t is_file_name () const noexcept
 Returns true if type is file name.
 
constexpr bool_t is_builtin () const noexcept
 Returns true if type is builtin.
 
constexpr std::optional< string > as_file_name () const noexcept
 Returns camera realistic aperture as file name.
 
constexpr std::optional< camera_realistic_aperture_builtin > as_builtin () const noexcept
 Returns camera realistic aperture as builtin.
 
constexpr variant_type to_variant () const noexcept
 Conversion to variant.
 
constexpr auto reflect () const noexcept
 Conversion to tuple.
 

Detailed Description

Member Function Documentation

◆ type()

constexpr camera_realistic_aperture_type tpbrt::camera_realistic_aperture::type ( ) const
inlineconstexprnoexcept

Returns type value.

◆ is_file_name()

constexpr bool_t tpbrt::camera_realistic_aperture::is_file_name ( ) const
inlineconstexprnoexcept

Returns true if type is file name.

◆ is_builtin()

constexpr bool_t tpbrt::camera_realistic_aperture::is_builtin ( ) const
inlineconstexprnoexcept

Returns true if type is builtin.

◆ as_file_name()

constexpr std::optional< string > tpbrt::camera_realistic_aperture::as_file_name ( ) const
inlineconstexprnoexcept

Returns camera realistic aperture as file name.

◆ as_builtin()

constexpr std::optional< camera_realistic_aperture_builtin > tpbrt::camera_realistic_aperture::as_builtin ( ) const
inlineconstexprnoexcept

Returns camera realistic aperture as builtin.

◆ to_variant()

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

Conversion to variant.

◆ reflect()

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

Conversion to tuple.


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