2022-02-06 13:47:33 +00:00
|
|
|
//
|
|
|
|
// Created by lukas on 06.02.22.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef OPENGLTEST_TEXTURE_H
|
|
|
|
#define OPENGLTEST_TEXTURE_H
|
|
|
|
|
|
|
|
|
2022-02-06 21:53:29 +00:00
|
|
|
#include <string>
|
|
|
|
|
2022-02-06 13:47:33 +00:00
|
|
|
class Texture {
|
|
|
|
private:
|
|
|
|
unsigned mTexturehandle;
|
|
|
|
public:
|
|
|
|
Texture();
|
2022-02-06 21:53:29 +00:00
|
|
|
void load(std::string path);
|
2022-02-06 13:47:33 +00:00
|
|
|
void Bind();
|
|
|
|
void UnBind();
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif //OPENGLTEST_TEXTURE_H
|