|
tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
|
#include <tinypbrt/detail/cpp/fwd.hpp>#include <tinypbrt/detail/accelerator.h>#include <string_view>#include <tuple>#include <tinypbrt/detail/cpp/common.hpp>Go to the source code of this file.
Data Structures | |
| struct | tpbrt::accelerator_bvh_params |
| C++ wrapper for tpbrt_accelerator_bvh_params_t. More... | |
| struct | tpbrt::accelerator_kd_tree_params |
| C++ wrapper for tpbrt_accelerator_kd_tree_params_t. More... | |
| struct | tpbrt::accelerator |
| C++ wrapper for tpbrt_accelerator_t. More... | |
Namespaces | |
| namespace | tpbrt |
Macros | |
| #define | _TINYPBRT_ACCELERATOR_HPP_ |
Enumerations | |
| enum class | tpbrt::accelerator_type : uchar_t { tpbrt::accelerator_type::BVH = TPBRT_ACCELERATOR_TYPE_BVH , tpbrt::accelerator_type::KD_TREE = TPBRT_ACCELERATOR_TYPE_KD_TREE , tpbrt::accelerator_type::MAX_NUM = TPBRT_ACCELERATOR_TYPE_MAX_NUM } |
| Used to declare accelerator type. More... | |
| enum class | tpbrt::accelerator_bvh_split_method : uchar_t { tpbrt::accelerator_bvh_split_method::SAH = TPBRT_ACCELERATOR_BVH_SPLIT_METHOD_SAH , tpbrt::accelerator_bvh_split_method::MIDDLE = TPBRT_ACCELERATOR_BVH_SPLIT_METHOD_MIDDLE , tpbrt::accelerator_bvh_split_method::EQUAL = TPBRT_ACCELERATOR_BVH_SPLIT_METHOD_EQUAL , tpbrt::accelerator_bvh_split_method::HLBVH = TPBRT_ACCELERATOR_BVH_SPLIT_METHOD_HLBVH , tpbrt::accelerator_bvh_split_method::MAX_NUM = TPBRT_ACCELERATOR_BVH_SPLIT_METHOD_MAX_NUM } |
| Used to declare BVH split method. More... | |
Functions | |
| constexpr std::string_view | tpbrt::to_string (const accelerator_type type) noexcept |
| Converts accelerator_type enum value to string. | |
| constexpr std::string_view | tpbrt::to_string (const accelerator_bvh_split_method method) noexcept |
| Converts accelerator_bvh_split_method enum value to string. | |
| #define _TINYPBRT_ACCELERATOR_HPP_ |