matf-rg-engine 1.0.0
Base for project for the Computer Graphics course at Faculty of Mathematics, University of Belgrade
|
Processes the meshes in an Assimp scene. More...
Public Member Functions | |
std::vector< Mesh > | process_meshes () |
Processes the meshes in the scene. | |
AssimpSceneProcessor (ResourcesController *resources_controller, const aiScene *scene, std::filesystem::path model_path) | |
Private Member Functions | |
void | process_node (const aiNode *node) |
void | process_mesh (aiMesh *mesh) |
std::vector< Texture * > | process_materials (const aiMaterial *material) |
void | process_material_type (std::vector< Texture * > &textures, const aiMaterial *material, aiTextureType type) |
Static Private Member Functions | |
static TextureType | assimp_texture_type_to_engine (aiTextureType type) |
Private Attributes | |
std::vector< Mesh > | m_meshes |
const aiScene * | m_scene |
std::filesystem::path | m_model_path |
ResourcesController * | m_resources_controller |
Processes the meshes in an Assimp scene.
|
inlineexplicit |
std::vector< Mesh > engine::resources::AssimpSceneProcessor::process_meshes | ( | ) |
Processes the meshes in the scene.
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
|
private |
|
private |
|
private |
|
private |