mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 16:19:19 +02:00
vao
This commit is contained in:
19
gl/vao.h
Normal file
19
gl/vao.h
Normal 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);
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user