summaryrefslogtreecommitdiffstats
path: root/examples/opengl/overlay/README
blob: 469c527b68c67765e62a0494ebd36b78884483bf (plain)
1
2
3
4
5
6
7
8
9

The overlay example

This example program shows how to use OpenGL overlays with the TQt OpenGL
Extension. It contains 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.