24 lines
366 B
C
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
|