|
tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
|
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... | |
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. | |
|
strong |
|
strong |
Used to declare BVH split method.
|
constexprnoexcept |
Converts accelerator_type enum value to string.
| type | Accelerator type. |
|
constexprnoexcept |
Converts accelerator_bvh_split_method enum value to string.
| method | Accelerator bvh split method. |