16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 08:09:19 +02:00
This commit is contained in:
milek7
2018-08-02 20:38:39 +02:00
parent f6f7fee8d8
commit e603d2fefe
22 changed files with 1007 additions and 613 deletions

View File

@@ -11,10 +11,13 @@ namespace gl
class ubo : public object, public bindable<ubo>
{
int index;
public:
ubo(int size, int index);
ubo(int size, int index, GLenum hint = GL_DYNAMIC_DRAW);
~ubo();
void bind_uniform();
using bindable::bind;
static void bind(GLuint i);