Files
eiifwhrn-game-engine-edition/VBO.h
T
2026-06-08 17:07:34 -04:00

22 lines
283 B
C++

#ifndef VBO_CLASS_H
#define VBO_CLASS_H
#include <glad/glad.h>
#include "Vertex.h"
class VBO {
public:
GLuint ID;
VBO();
void GenerateID() {
glGenBuffers(1, &ID);
};
void BufferData(void* vertices, GLsizeiptr size);
void Bind();
void Unbind();
void Delete();
};
#endif