Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions |

# 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 `$TQTDIR/examples/opengl/overlay` for the source code.

See also OpenGL Examples.