summaryrefslogtreecommitdiffstats
path: root/examples/opengl/overlay/overlay.doc
blob: e38569f5891044bb1d8723865eed5b0e7ff593fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*!   \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 TQGLWidget 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.

*/