Volume Renderer DoF
QuadShader.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "glew.h"
4 #include <string>
5 #include <QtGui\qopenglshaderprogram.h>
6 
7 #include "RENDER\GLShader.h"
8 
10 class QuadShader: public GLShader
11 {
12 public:
13  QuadShader();
14  ~QuadShader();
15 
20  void draw(const GLuint& text, GLCamera& camera);
21 
22 private:
23 
25  void configShader();
26 
28  GLint textLocation;
30  GLint projectionMatrixLocation;
32  GLint viewMatrixLocation;
33 };
34 
Definition: GLCamera.h:9
Definition: QuadShader.h:10
Definition: GLShader.h:10
QuadShader()
Definition: QuadShader.cpp:5
void draw(const GLuint &text, GLCamera &camera)
Definition: QuadShader.cpp:19
~QuadShader()
Definition: QuadShader.cpp:15