- All Superinterfaces:
QtObjectInterface
Native interface to a WGL context on Windows
Java wrapper for Qt class QNativeInterface::QWGLContext
This class was introduced in Qt 6.0.
-
Method Summary
Modifier and TypeMethodDescriptionstatic QOpenGLContext
fromNative
(QNativePointer context, QNativePointer window) Overloaded function forfromNative(QNativePointer, QNativePointer, io.qt.gui.QOpenGLContext)
withshareContext = null
.static QOpenGLContext
fromNative
(QNativePointer context, QNativePointer window, QOpenGLContext shareContext) Adopts an WGL context handlestatic QNativePointer
Methods inherited from interface io.qt.QtObjectInterface
dispose, isDisposed
-
Method Details
-
nativeContext
-
fromNative
static QOpenGLContext fromNative(QNativePointer context, QNativePointer window, QOpenGLContext shareContext) Adopts an WGL context handle
See
QNativeInterface::QWGLContext::
fromNative(HGLRC, HWND, QOpenGLContext*) -
openGLModuleHandle
-
fromNative
Overloaded function for
fromNative(QNativePointer, QNativePointer, io.qt.gui.QOpenGLContext)
withshareContext = null
.
-