You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
/*! \page opengl-overlay-example.html
|
|
|
|
|
|
|
|
\ingroup opengl-examples
|
|
|
|
\title OpenGL Overlay Example
|
|
|
|
|
|
|
|
This example demonstrates how to use OpenGL overlays with the TQt OpenGL
|
|
|
|
Extension. It features a QGLWidget with a relatively expensive redrawing
|
|
|
|
operation, and rubber-band drawing in the overlay plane. Using the
|
|
|
|
overlay has the advantage that the rubber-band may be drawn and erased
|
|
|
|
without damaging the image in the main plane, so costly redraws are
|
|
|
|
avoided.
|
|
|
|
|
|
|
|
See \c{$TQTDIR/examples/opengl/overlay} for the source code.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|