Lightweight OpenGL 3D Renderer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Euclid/headers/textures.hpp

17 lines
264 B

#ifndef TEXTURES_HPP
#define TEXTURES_HPP
namespace Textures {
class Texture2D {
public:
unsigned int id;
Texture2D(const char* t_src);
void load();
void use();
private:
const char* texture_src;
int width, height, nrChannels;
};
}
#endif