From ffd968a26826108ca9fb23d46ed5789260852eb7 Mon Sep 17 00:00:00 2001 From: Ritabrata Das Date: Wed, 9 Sep 2026 21:07:21 +0530 Subject: intial commit --- lib/assetManager.hpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 lib/assetManager.hpp (limited to 'lib/assetManager.hpp') diff --git a/lib/assetManager.hpp b/lib/assetManager.hpp new file mode 100644 index 0000000..7b15f5a --- /dev/null +++ b/lib/assetManager.hpp @@ -0,0 +1,18 @@ +#pragma once + +#include +#include +#include + +class assetManager +{ +private: + std::unordered_map textures; +public: + assetManager(); + ~assetManager(); + + void init(const std::string& dirPath = "../assets"); + Texture2D load(const std::string& texName); + void cleanup(); +}; -- cgit v1.2.3