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.
|
#ifndef _TEXTURE_HPP_
|
|
#define _TEXTURE_HPP_
|
|
|
|
#include "resource.hpp"
|
|
#include "gl.hpp"
|
|
|
|
#include <string>
|
|
|
|
struct Texture:
|
|
Resource
|
|
{
|
|
RESOURCE(Texture)
|
|
|
|
void use() const;
|
|
|
|
private:
|
|
GLuint _id;
|
|
};
|
|
|
|
#endif // _TEXTURE_HPP_
|