16 lines
223 B
C++
16 lines
223 B
C++
#ifndef TEXTURE_H
|
|
#define TEXTURE_H
|
|
#include <glad/glad.h>
|
|
|
|
class Texture {
|
|
public:
|
|
Texture(GLenum type, const char *path);
|
|
~Texture();
|
|
void bind(GLenum texture);
|
|
|
|
private:
|
|
unsigned int ID;
|
|
GLenum type;
|
|
};
|
|
#endif
|