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 _SHADER_HPP_
|
|
#define _SHADER_HPP_
|
|
|
|
#include "gl.hpp"
|
|
#include "resource.hpp"
|
|
|
|
#include <string>
|
|
|
|
struct Shader:
|
|
Resource
|
|
{
|
|
RESOURCE(Shader)
|
|
|
|
inline GLuint id() const { return _id; };
|
|
|
|
private:
|
|
GLuint _id;
|
|
};
|
|
|
|
#endif // _SHADER_HPP_
|