// ============================================= // Aster: model_loader.h // Copyright (c) 2020-2024 Anish Bhobe // ============================================= #pragma once #include "constants.h" #include #include struct RenderResourceManager; struct Texture; constexpr auto GLTF_ASCII_FILE_EXTENSION = ".gltf"; constexpr auto GLTF_BINARY_FILE_EXTENSION = ".glb"; constexpr static auto NORMAL = "NORMAL"; constexpr static auto POSITION = "POSITION"; constexpr static auto TANGENT = "TANGENT"; constexpr static auto TEXCOORD_0 = "TEXCOORD_0"; constexpr static auto TEXCOORD_1 = "TEXCOORD_1"; constexpr static auto JOINTS_0 = "JOINTS_0"; constexpr static auto WEIGHTS_0 = "WEIGHTS_0"; struct Model { }; Model LoadModel(RenderResourceManager *resourceManager, cstr path);