![]() |
NDEVR
API Documentation
|
Stores all of the objects needed for an aiScene in a way that is efficient and uses native containers. More...
Public Member Functions | |
| AssimpSceneMemory () | |
| Constructs an empty scene memory container. | |
| AssimpSceneMemory (aiScene *scene) | |
| Constructs scene memory from an existing aiScene pointer. | |
| ~AssimpSceneMemory () | |
| Destructor. | |
Public Attributes | |
| Buffer< aiMaterial * > | ai_materials |
| All Assimp materials accumulated for the scene. | |
| Buffer< aiMesh * > | ai_meshes |
| All Assimp meshes accumulated for the scene. | |
| Dictionary< UUID, Buffer< aiNode * > > | ai_models |
| Maps NDEVR model UUIDs to their Assimp scene nodes. | |
| Dictionary< UUID, uint04 > | mat_offset |
| Maps model UUIDs to their starting material index offset. | |
| Dictionary< String, uint04 > | material_names |
| Tracks material names to prevent duplicate entries. | |
| Dictionary< UUID, std::pair< Geometry, uint04 > > | mesh_offset |
| Maps model UUIDs to their geometry and mesh index offset. | |
| bool | preserve_memory |
| Whether to keep memory alive after destruction. | |
| aiScene * | scene |
| The Assimp scene being managed. | |
Stores all of the objects needed for an aiScene in a way that is efficient and uses native containers.
Definition at line 53 of file AssimpFactory.h.
| AssimpSceneMemory::AssimpSceneMemory | ( | aiScene * | scene | ) |
| AssimpSceneMemory::~AssimpSceneMemory | ( | ) |
Destructor.
Frees memory if preserve_memory is false.