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),
VertexDeclaration * decl_
vertex format of screen quad (float2 pos)
GLSL::Program * texDrawProg_
Simple texture drawing shader.
GLuint vbo_
vbo containing the quad in projected coordinates
Class to define the vertex input layout.
Namespace providing different geometric functions concerning angles.