"""
PySide stub files generated by **IceSpringPySideStubs**

Home: https://baijifeilong.github.io/2022/01/06/ice-spring-pyside-stubs/index.html

Github: https://github.com/baijifeilong/IceSpringPySideStubs

PyPI(PySide2): https://pypi.org/project/IceSpringPySideStubs-PySide2

PyPI(PySide6): https://pypi.org/project/IceSpringPySideStubs-PySide6

PyPI(PyQt5): https://pypi.org/project/IceSpringPySideStubs-PyQt5

Generated by BaiJiFeiLong@gmail.com

Licence: GPLv3
"""
"""
This file contains the exact signatures for all functions in module
PySide6.QtGui, except for defaults which are replaced by "...".
"""
from typing import List
import PySide6.QtCore
import PySide6.QtGui

bytes = str


class QOpenGLContextGroup(PySide6.QtCore.QObject):
    """
    https://doc.qt.io/qt-6/qopenglcontextgroup.html

    **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** **QOpenGLContext::shareGroup** ().
    """

    @staticmethod
    def currentContextGroup() -> PySide6.QtGui.QOpenGLContextGroup:
        """
        https://doc.qt.io/qt-6/qopenglcontextgroup.html#currentContextGroup

        **[static] QOpenGLContextGroup
        *QOpenGLContextGroup::currentContextGroup()**

        Returns the **QOpenGLContextGroup**  corresponding to the current
        context.

        **See also** **QOpenGLContext::currentContext** ().
        """
        ...

    def shares(self) -> List[PySide6.QtGui.QOpenGLContext]:
        """
        https://doc.qt.io/qt-6/qopenglcontextgroup.html#shares

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

        Returns all the **QOpenGLContext**  objects in this share group.
        """
        ...
