Files
maszyna/gl/vao.h
milek7 694aac6065 vao
2018-06-25 11:43:03 +02:00

20 lines
333 B
C++

#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);
};
}