IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QOpenGLContextGroup Class

The QOpenGLContextGroup class represents a group of contexts sharing OpenGL resources.

This class was introduced in Qt 5.0.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QOpenGLContextGroup Class

  • Header: QOpenGLContextGroup

  • Since: Qt 5.0

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS Gui)

    target_link_libraries(mytarget PRIVATE Qt6::Gui)

  • qmake: QT += gui

  • Inherits: QObject

Detailed Description

QOpenGLContextGroup is automatically created and managed by QOpenGLContext instances. Its purpose is to identify all the contexts that are sharing resources.

See Also

Member Function Documentation

 

[static] QOpenGLContextGroup *QOpenGLContextGroup::currentContextGroup()

Returns the QOpenGLContextGroup corresponding to the current context.

See Also

QList<QOpenGLContext *> QOpenGLContextGroup::shares() const

Returns all the QOpenGLContext objects in this share group.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+