QOpenGLContextGroup Class
La classe QOpenGLContextGroup rappresenta un gruppo di contesti che condividono risorse OpenGL. Per saperne di più...
| Intestazione: | #include <QOpenGLContextGroup> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
| qmake: | QT += gui |
| Eredita: | QObject |
Funzioni pubbliche
| QList<QOpenGLContext *> | shares() const |
Membri pubblici statici
| QOpenGLContextGroup * | currentContextGroup() |
Descrizione dettagliata
QOpenGLContextGroup viene creato e gestito automaticamente dalle istanze di QOpenGLContext. Il suo scopo è identificare tutti i contesti che condividono risorse.
Vedi anche QOpenGLContext::shareGroup().
Documentazione delle funzioni membro
[static] QOpenGLContextGroup *QOpenGLContextGroup::currentContextGroup()
Restituisce l'QOpenGLContextGroup e corrispondente al contesto corrente.
Vedi anche QOpenGLContext::currentContext().
QList<QOpenGLContext *> QOpenGLContextGroup::shares() const
Restituisce tutti gli oggetti ` QOpenGLContext ` presenti in questo gruppo di condivisione.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.