16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 16:19:19 +02:00
This commit is contained in:
milek7
2018-06-25 01:15:37 +02:00
parent 0c5f990528
commit 694aac6065
13 changed files with 131 additions and 114 deletions

19
gl/vao.h Normal file
View File

@@ -0,0 +1,19 @@
#pragma once
#include "object.h"
#include "bindable.h"
namespace gl
{
class vao : public object, public bindable<vao>
{
public:
vao();
~vao();
void setup_attrib(int attrib, int size, int type, int stride, int offset);
using bindable::bind;
static void bind(GLuint i);
};
}