Path Tracing
Loading...
Searching...
No Matches
loader.hpp File Reference

Represents the async model loading to the scene, holding data temporarily. More...

#include "mesh.hpp"
#include "bvh.hpp"
#include <atomic>
#include <vector>
#include <thread>
Include dependency graph for loader.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ModelLoader

Enumerations

enum  LoadStage { STAGE_PARSING = 0 , STAGE_BVH , STAGE_UPLOAD_MESH , STAGE_UPLOAD_TEXTURES }
 Stages of the async model load in order. More...

Variables

const char * LOAD_STAGE_TEXT []
 Display text per LoadStage.
ModelLoader loader

Detailed Description

Represents the async model loading to the scene, holding data temporarily.

Author
Leonel Matos
Date
2026-05-20

Enumeration Type Documentation

◆ LoadStage

enum LoadStage

Stages of the async model load in order.

Enumerator
STAGE_PARSING 
STAGE_BVH 
STAGE_UPLOAD_MESH 
STAGE_UPLOAD_TEXTURES 

Variable Documentation

◆ LOAD_STAGE_TEXT

const char* LOAD_STAGE_TEXT[]
inline
Initial value:
= {
"Loading Model...",
"Building BVH...",
"Uploading Geometry...",
"Loading Textures"
}

Display text per LoadStage.

See also
LoadStage

◆ loader

ModelLoader loader
inline