FramebufferRectangle.h 303 B

123456789101112131415161718192021
  1. #ifndef FRAMEBUFFERRECTANGLE_H
  2. #define FRAMEBUFFERRECTANGLE_H
  3. #include <GL/glew.h>
  4. #include <GLFW/glfw3.h>
  5. class FramebufferRectangle
  6. {
  7. public:
  8. FramebufferRectangle();
  9. virtual ~FramebufferRectangle();
  10. bool init();
  11. void draw();
  12. private:
  13. GLuint vba;
  14. GLuint vbo;
  15. };
  16. #endif