You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
371 B

4 years ago
4 years ago
  1. #pragma once
  2. #include "glew.h"
  3. class FullScreenQuad
  4. {
  5. public:
  6. GLuint mVBO;
  7. public:
  8. void Init();
  9. void Draw(GLint posLoc, GLint texcoordLoc);
  10. void DrawToLeftTop(GLint posLoc, GLint texcoordLoc);
  11. void DrawToRightTop(GLint posLoc, GLint texcoordLoc);
  12. void DrawToLeftBottom(GLint posLoc, GLint texcoordLoc);
  13. void DrawToRightBottom(GLint posLoc, GLint texcoordLoc);
  14. };