OpenGL/headers/texture.hpp
2025-01-12 23:12:29 -05:00

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