SparrowRenderer/texture.h

22 lines
256 B
C++

#ifndef TEXTURE_H
#define TEXTURE_H
#include <glew/glew.h>
class QImage;
class QString;
class Texture
{
private:
GLuint texId;
QImage* img;
public:
Texture(QString filename);
~Texture();
void bind(int slot);
};
#endif // TEXTURE_H