blob: 5bd5c058ceb1b3ebd334e7eb5d2e836697676b18 (
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
|