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.

16 lines
310 B

  1. #pragma once
  2. #include "ggl.h"
  3. #include "vertexbuffer.h"
  4. #include "shader.h"
  5. class FullScreenQuad {
  6. public:
  7. VertexBuffer *mVertexBuffer;
  8. Shader *mShader;
  9. public:
  10. void Init();
  11. void Draw();
  12. void DrawToLeftTop();
  13. void DrawToRightTop();
  14. void DrawToLeftBottom();
  15. void DrawToRightBottom();
  16. };