Implementation of AssetLoader — Assimp scene import and mesh extraction.
More...
#include "AssetLoader.hpp"
#include "Asset.hpp"
#include <filesystem>
#include <iostream>
#include <stack>
#include <stb_image.h>
#include <vector>
|
| bool | readAiColor (aiMaterial &material, const char *key, unsigned int type, unsigned int index, glm::vec3 &out) |
| static bool | hasMetadataKey (const aiNode &node, const std::string &keyToFind) |
Implementation of AssetLoader — Assimp scene import and mesh extraction.
◆ hasMetadataKey()
| bool hasMetadataKey |
( |
const aiNode & | node, |
|
|
const std::string & | keyToFind ) |
|
static |
◆ readAiColor()
| bool readAiColor |
( |
aiMaterial & | material, |
|
|
const char * | key, |
|
|
unsigned int | type, |
|
|
unsigned int | index, |
|
|
glm::vec3 & | out ) |