TRX/lib/glrage_gl/VertexArray.hpp

25 lines
394 B
C++
Raw Normal View History

2021-11-12 20:03:04 +01:00
#pragma once
#include "Object.hpp"
#include "gl_core_3_3.h"
namespace glrage {
namespace gl {
class VertexArray : public Object
{
public:
VertexArray();
~VertexArray();
void bind();
2021-11-14 23:59:19 +01:00
void attribute(GLuint index,
GLint size,
GLenum type,
GLboolean normalized,
GLsizei stride,
GLsizei offset);
2021-11-12 20:03:04 +01:00
};
} // namespace gl
} // namespace glrage