blob: 6aa1084ea0d1f38b7938f83e84af242022c26479 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#ifndef PROGRAM_HANDLE_H
#define PROGRAM_HANDLE_H
#include <GL/glew.h>
#include <glRef.hpp>
class ProgramHandleBase {
public:
ProgramHandleBase(GLuint, GLuint);
using ProgramRef = glRef<GLuint, __glewCreateProgram, __glewDeleteProgram>;
ProgramRef m_program;
GLint viewProjection_uniform, model_uniform;
};
#endif
|