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
+26
View File
@@ -0,0 +1,26 @@
#ifndef FBO_CLASS_H
#define FBO_CLASS_H
#include <glad/glad.h>
// cube
class FBO {
public:
GLuint ID;
FBO() {
glGenFramebuffers(1, &ID);
};
void Bind() {
glBindFramebuffer(GL_FRAMEBUFFER, ID);
};
void Unbind() {
glBindFramebuffer(GL_FRAMEBUFFER, 0);
};
void Delete() {
glDeleteFramebuffers(1, &ID);
};
};
#endif