QOpenGLContextGroup Class
A classe QOpenGLContextGroup representa um grupo de contextos que compartilham recursos do OpenGL. Mais...
| Cabeçalho: | #include <QOpenGLContextGroup> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
| qmake: | QT += gui |
| Herdado de: | QObject |
Funções públicas
| QList<QOpenGLContext *> | shares() const |
Membros públicos estáticos
| QOpenGLContextGroup * | currentContextGroup() |
Descrição detalhada
O QOpenGLContextGroup é criado e gerenciado automaticamente pelas instâncias d QOpenGLContext. Sua finalidade é identificar todos os contextos que compartilham recursos.
Veja também QOpenGLContext::shareGroup().
Documentação das funções-membro
[static] QOpenGLContextGroup *QOpenGLContextGroup::currentContextGroup()
Retorna o objeto ` QOpenGLContextGroup ` correspondente ao contexto atual.
Veja também QOpenGLContext::currentContext().
QList<QOpenGLContext *> QOpenGLContextGroup::shares() const
Retorna todos os objetos ` QOpenGLContext ` neste grupo de compartilhamento.
© 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.