GLTFDataRep
GLTF data representation that persists throughout the loading process to facilitate data sharing across multiple asynchronous loading jobs.
File location: framework/cauldron/framework/inc/core/loaders/gltfloader.h
Detailed description
GLTF data representation that persists throughout the loading process to facilitate data sharing across multiple asynchronous loading jobs.
Data fields
Type |
Description |
---|---|
json* |
pGLTFJsonData
The json GLTF data instance.
|
std::vector<std::vector<char>> |
GLTFBufferData
The GLTF buffer data entries.
|
std::wstring |
GLTFFilePath
The GLTF file path.
|
std::wstring |
GLTFFileName
The GLTF file name.
|
std::vector<LightComponentData > |
LightData
Loaded “LightComponentData“.
|
std::vector<CameraComponentData > |
CameraData
Loaded “CameraComponentData“.
|
bool |
BuffersLoaded
Buffer load status. True if buffer loading is completed.
|
bool |
TexturesLoaded
Texture load status. True if buffer loading is completed.
|
std::mutex |
CriticalSection
Mutex for syncing structure data changes.
|
std::condition_variable |
BufferCV
Condition variable for syncing structure buffer data changes.
|
std::condition_variable |
TextureCV
Condition variable for syncing structure texture data changes.
|
pLoadedContentRep
The “ContentBlock“ built by the loading processes.
|
|
std::chrono::nanoseconds |
loadStartTime
The time content loading started (used to track loading times)
|