Files
2026-06-08 17:07:34 -04:00

21 lines
340 B
C++

#ifndef VAO_CLASS_H
#define VAO_CLASS_H
#include <glad/glad.h>
#include "VBO.h"
class VAO {
public:
GLuint ID;
VAO();
void GenerateID() {
glGenVertexArrays(1, &ID);
}
void LinkVBO(VBO& vbo, GLuint layout, GLuint numComponents, GLenum type, GLsizeiptr stride, void* offset);
void Bind();
void Unbind();
void Delete();
};
#endif