|
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/scene.h>#include <memory>#include <string>#include <tuple>#include <utility>#include <tinypbrt/detail/cpp/accelerator.hpp>#include <tinypbrt/detail/cpp/camera.hpp>#include <tinypbrt/detail/cpp/common.hpp>#include <tinypbrt/detail/cpp/error.hpp>#include <tinypbrt/detail/cpp/film.hpp>#include <tinypbrt/detail/cpp/filter.hpp>#include <tinypbrt/detail/cpp/integrator.hpp>#include <tinypbrt/detail/cpp/light.hpp>#include <tinypbrt/detail/cpp/material.hpp>#include <tinypbrt/detail/cpp/media.hpp>#include <tinypbrt/detail/cpp/object.hpp>#include <tinypbrt/detail/cpp/object_instance.hpp>#include <tinypbrt/detail/cpp/options.hpp>#include <tinypbrt/detail/cpp/sampler.hpp>#include <tinypbrt/detail/cpp/shape.hpp>#include <tinypbrt/detail/cpp/texture.hpp>#include <tinypbrt/detail/cpp/transform.hpp>Go to the source code of this file.
Data Structures | |
| struct | tpbrt::scene_view |
| C++ wrapper for tpbrt_scene_t (a non owning view, e.g. More... | |
| class | tpbrt::scene |
| Scene loaded from a pbrt-v4 file or string, owning all its memory (move only, freed in the destructor). More... | |
Namespaces | |
| namespace | tpbrt |
Macros | |
| #define | _TINYPBRT_SCENE_HPP_ |
Functions | |
| result< scene > | tpbrt::load_scene_from_file (const std::string &filepath) |
| Loads scene from given file. | |
| result< scene > | tpbrt::load_scene_from_memory (const std::string &data, const std::string &working_directory=".") |
| Loads scene from memory (provided string). | |
| result< scene > | tpbrt::load_scene_from_memory (const char_t *const data, const std::string &working_directory=".") |
| Loads scene from memory (provided null-terminated string). | |
| #define _TINYPBRT_SCENE_HPP_ |