blob: 45ccc23b69cfc6c12e98c319b16e7159b5d439a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef UISHADER_H
#define UISHADER_H
#include "programHandle.h"
#include <GL/glew.h>
#include <cstddef>
class UIShader {
public:
UIShader(std::size_t width, std::size_t height);
void use() const;
private:
class UIProgramHandle : public ProgramHandleBase {
using ProgramHandleBase::ProgramHandleBase;
};
UIProgramHandle program;
};
#endif
|