|
Anvil Engine
|
#include "AMeshLoader.h"#include <assimp/Importer.hpp>#include <assimp/postprocess.h>#include <assimp/scene.h>#include <fstream>#include <glad/glad.h>#include <iostream>#include <stb_image.h>#include <string>#include <vector>#include <filesystem>Macros | |
| #define | STB_IMAGE_IMPLEMENTATION |
Functions | |
| uint32_t | LoadTextureAuto (const std::string &texturePath) |
| Loads a texture from file and creates an OpenGL texture object. | |
| #define STB_IMAGE_IMPLEMENTATION |
| uint32_t LoadTextureAuto | ( | const std::string & | texturePath | ) |
Loads a texture from file and creates an OpenGL texture object.
| texturePath | Path to the texture file |