1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
matabstrix/src/texture.hpp

21 lines
229 B
C++
Raw Normal View History

2015-11-07 13:56:06 +00:00
#ifndef _TEXTURE_HPP_
#define _TEXTURE_HPP_
2015-11-11 20:17:11 +00:00
#include "resource.hpp"
2015-11-07 13:56:06 +00:00
#include "gl.hpp"
2015-11-09 15:28:25 +00:00
#include <string>
struct Texture:
Resource
2015-11-07 13:56:06 +00:00
{
2015-11-11 20:17:11 +00:00
RESOURCE(Texture)
2015-11-11 17:28:11 +00:00
2015-11-07 13:56:06 +00:00
void use() const;
private:
GLuint _id;
};
#endif // _TEXTURE_HPP_