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