tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
Loading...
Searching...
No Matches
fwd.hpp File Reference
#include <tinypbrt/detail/fwd.h>
#include <cstdint>

Go to the source code of this file.

Namespaces

namespace  tpbrt
 

Macros

#define _TINYPBRT_FWD_HPP_
 

Typedefs

using tpbrt::char_t = tpbrt_char_t
 Char type.
 
using tpbrt::uchar_t = tpbrt_uchar_t
 Unsigned char type.
 
using tpbrt::bool_t = bool
 Bool type.
 
using tpbrt::int_t = tpbrt_int_t
 Int type.
 
using tpbrt::uint_t = tpbrt_uint_t
 Unsigned int type.
 
using tpbrt::float_t = tpbrt_float_t
 Float type.
 
using tpbrt::double_t = tpbrt_double_t
 Double type.
 
using tpbrt::size_t = tpbrt_size_t
 Size type.
 
using tpbrt::long_t = tpbrt_long_t
 Long type.
 
using tpbrt::ulong_t = tpbrt_ulong_t
 Unsigned long type.
 
using tpbrt::longlong_t = tpbrt_longlong_t
 Long long type.
 
using tpbrt::ulonglong_t = tpbrt_ulonglong_t
 Unsigned long long type.
 
using tpbrt::idx_t = tpbrt_idx_t
 Index type.
 
using tpbrt::point2 = vec2
 C++ wrapper for tpbrt_point2_t.
 
using tpbrt::vec = vec3
 C++ wrapper for tpbrt_vec_t.
 
using tpbrt::point3 = vec3
 C++ wrapper for tpbrt_point3_t.
 
using tpbrt::point = point3
 C++ wrapper for tpbrt_point_t.
 
using tpbrt::normal3 = vec3
 C++ wrapper for tpbrt_normal3_t.
 
using tpbrt::normal = normal3
 C++ wrapper for tpbrt_normal_t.
 
using tpbrt::point2_array = vec2_array
 C++ wrapper for tpbrt_point2_array_t.
 
using tpbrt::vec_array = vec3_array
 C++ wrapper for tpbrt_vec_array_t.
 
using tpbrt::point3_array = vec3_array
 C++ wrapper for tpbrt_point3_array_t.
 
using tpbrt::point_array = point3_array
 C++ wrapper for tpbrt_point_array_t.
 
using tpbrt::normal3_array = vec3_array
 C++ wrapper for tpbrt_normal3_array_t.
 
using tpbrt::normal_array = normal3_array
 C++ wrapper for tpbrt_normal_array_t.
 
using tpbrt::transform_idx_t = tpbrt_transform_idx_t
 Transform index.
 
using tpbrt::texture_idx_t = tpbrt_texture_idx_t
 Texture index type.
 
using tpbrt::object_idx_t = tpbrt_object_idx_t
 Object index type.
 
using tpbrt::media_idx_t = tpbrt_media_idx_t
 Media index type.
 
using tpbrt::material_idx_t = tpbrt_material_idx_t
 Material index type.
 
using tpbrt::area_light_idx_t = tpbrt_area_light_idx_t
 Area light index type.
 
using tpbrt::rgb = vec3
 C++ wrapper for tpbrt_rgb_t.
 
using tpbrt::wavelength_array = array< tpbrt_wavelength_array_t, wavelength >
 C++ wrapper for tpbrt_wavelength_array_t.
 
using tpbrt::rgb_array = array< tpbrt_rgb_array_t, rgb >
 C++ wrapper for tpbrt_rgb_array_t.
 

Variables

constexpr auto tpbrt::False = TPBRT_FALSE
 False value.
 
constexpr auto tpbrt::True = TPBRT_TRUE
 True value.
 
constexpr auto tpbrt::InvalidIdx = TPBRT_IDX_INVALID
 Invalid index.
 
constexpr auto tpbrt::TransformInvalidIdx = TPBRT_TRANSFORM_IDX_INVALID
 Invalid transform index.
 
constexpr auto tpbrt::TextureInvalidIdx = TPBRT_TEXTURE_IDX_INVALID
 Invalid texture index.
 
constexpr auto tpbrt::ObjectInvalidIdx = TPBRT_OBJECT_IDX_INVALID
 Invalid object index.
 
constexpr auto tpbrt::MediaInvalidIdx = TPBRT_MEDIA_IDX_INVALID
 Invalid media index.
 
constexpr auto tpbrt::MaterialInvalidIdx = TPBRT_MATERIAL_IDX_INVALID
 Invalid material index.
 
constexpr auto tpbrt::AreaLightInvalidIdx = TPBRT_AREA_LIGHT_IDX_INVALID
 Invalid area light index.
 

Macro Definition Documentation

◆ _TINYPBRT_FWD_HPP_

#define _TINYPBRT_FWD_HPP_