49 #ifndef ACG_SCREENQUAD_HH 50 #define ACG_SCREENQUAD_HH 57 #include <ACG/GL/gl.hh> 58 #include <ACG/GL/VertexDeclaration.hh> 93 static void drawInstanced(
int _count,
GLSL::Program* _prog = 0);
104 static void drawTexture2D(GLuint _texture,
const Vec2f& _offset =
Vec2f(0.0f, 0.0f),
139 #endif // ACG_SCREENQUAD_HH defined Namespace providing different geometric functions concerning angles.
Class to define the vertex input layout.
VectorT< float, 2 > Vec2f
GLSL::Program * texDrawProg_
Simple texture drawing shader.
VertexDeclaration * decl_
vertex format of screen quad (float2 pos)
GLuint vbo_
vbo containing the quad in projected coordinates