|
tinypbrt 1.1.1
pbrt-v4 scene file parser for C11 with a header-only C++20 wrapper
|
Data Structures | |
| struct | tpbrt::object |
| C++ wrapper for tpbrt_object_t. More... | |
| struct | tpbrt::object_handle |
| C++ wrapper for tpbrt_object_handle_t. More... | |
| struct | tpbrt::objects_list |
| C++ wrapper for tpbrt_objects_list_t. More... | |
Typedefs | |
| using | tpbrt::object_idx_t = tpbrt_object_idx_t |
| Object index type. | |
Functions | |
| result< object > | tpbrt::get_object (const objects_list list, const object_handle handle) noexcept |
| Returns object to which handle is provided. | |
| result< object > | tpbrt::get_object (const objects_list list, const std::string_view name) noexcept |
| Returns object with given name. | |
Variables | |
| constexpr auto | tpbrt::ObjectInvalidIdx = TPBRT_OBJECT_IDX_INVALID |
| Invalid object index. | |
| using tpbrt::object_idx_t = typedef tpbrt_object_idx_t |
Object index type.
|
inlinenoexcept |
Returns object to which handle is provided.
| list | List of objects in which object given by handle should be. |
| handle | Handle to object. |
|
inlinenoexcept |
Returns object with given name.
| list | List of objects in which searched object should be. |
| name | Name of the searched object. |
|
inlineconstexpr |
Invalid object index.