aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/doc/extras/QtOpenGLWidgets.rst
blob: d40b89d71431f509b9dfdc5326b60273b94c5d9f (plain)
1
2
3
4
5
6
7
8
The Qt OpenGL provides the OpenGL widget class that can be used just like any
other Qt widget, except that it opens an OpenGL display buffer where you can
use the OpenGL API to render the contents. To include the definitions of
the module's classes, use the following directive:

::

    import PySide6.QtOpenGLWidgets