mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-05-13 05:57:10 +03:00
24 lines
394 B
C++
24 lines
394 B
C++
#pragma once
|
|
|
|
#include "Object.hpp"
|
|
#include "gl_core_3_3.h"
|
|
|
|
namespace glrage {
|
|
namespace gl {
|
|
|
|
class VertexArray : public Object
|
|
{
|
|
public:
|
|
VertexArray();
|
|
~VertexArray();
|
|
void bind();
|
|
void attribute(GLuint index,
|
|
GLint size,
|
|
GLenum type,
|
|
GLboolean normalized,
|
|
GLsizei stride,
|
|
GLsizei offset);
|
|
};
|
|
|
|
} // namespace gl
|
|
} // namespace glrage
|