3 #include <QOpenGLBuffer>
5 class QOpenGLFunctions;
23 void draw(QOpenGLFunctions &gl);
30 static void strip(QOpenGLBuffer &vertices);
33 QOpenGLBuffer *m_vertices;
ScreenAlignedQuad()
Creates a new ScreenAlignedQuad.
Definition: screenalignedquad.cpp:8
~ScreenAlignedQuad()
Definition: screenalignedquad.cpp:16
static void strip(QOpenGLBuffer &vertices)
Writes vertices into given buffer.
Definition: screenalignedquad.cpp:30
The ScreenAlignedQuad class encapsulates the drawing of a screen aligned quad.
Definition: screenalignedquad.h:10
void draw(QOpenGLFunctions &gl)
Draws the ScreenAlignedQuad with bound shader program.
Definition: screenalignedquad.cpp:22