BlockGame/blocks/TextureLoader.h
2022-02-06 22:53:29 +01:00

24 lines
366 B
C++

//
// Created by lukas on 06.02.22.
//
#ifndef OPENGLTEST_TEXTURELOADER_H
#define OPENGLTEST_TEXTURELOADER_H
#include <unordered_map>
#include "../gl/Texture.h"
class TextureLoader {
private:
static std::unordered_map<std::string, Texture> texts;
public:
static Texture* loadTexture(std::string path);
private:
};
#endif //OPENGLTEST_TEXTURELOADER_H