Qt 4.7: Pixel Buffers Example

Qt Reference Documentation

# Pixel Buffers Example

Files:

- opengl/pbuffers/cube.cpp
- opengl/pbuffers/cube.h
- opengl/pbuffers/glwidget.cpp
- opengl/pbuffers/glwidget.h
- opengl/pbuffers/main.cpp
- opengl/pbuffers/pbuffers.pro
- opengl/pbuffers/pbuffers.qrc

The Pixel Buffers example demonstrates how to use the QGLPixelBuffer class to render into an off-screen buffer and use the contents as a dynamic texture in a QGLWidget.