added the readme

This commit is contained in:
2026-06-08 17:07:34 -04:00
commit 6655fd2886
1001 changed files with 253651 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
#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