![]() |
Path Tracing
|
#include <loader.hpp>

Public Attributes | |
| std::vector< GPUTriangle > | pending_tris |
| std::vector< GPUMaterial > | pending_mats |
| std::vector< CPUMaterial > | pending_cpu_mats |
| std::vector< BVHNode > | pending_bvh |
| MeshBounds | pending_bounds |
| std::atomic< bool > | upload_pending = false |
| std::atomic< bool > | is_loading = false |
| std::atomic< int > | stage = STAGE_PARSING |
| std::thread | worker |
| Handle of the current background load. | |
| std::vector< CPUMaterial > | ui_cpu_mats |
| std::vector< GPUMaterial > | ui_mats |
| std::atomic<bool> ModelLoader::is_loading = false |
| MeshBounds ModelLoader::pending_bounds |
| std::vector<BVHNode> ModelLoader::pending_bvh |
| std::vector<CPUMaterial> ModelLoader::pending_cpu_mats |
| std::vector<GPUMaterial> ModelLoader::pending_mats |
| std::vector<GPUTriangle> ModelLoader::pending_tris |
| std::atomic<int> ModelLoader::stage = STAGE_PARSING |
| std::vector<CPUMaterial> ModelLoader::ui_cpu_mats |
UI-thread-only snapshot of the model's materials. Written for the main thread
| std::vector<GPUMaterial> ModelLoader::ui_mats |
| std::atomic<bool> ModelLoader::upload_pending = false |
| std::thread ModelLoader::worker |
Handle of the current background load.