- All Superinterfaces:
QtObjectInterface
Native interface to a WGL context on Windows
Java wrapper for Qt class QNativeInterface::QWGLContext
- Since:
- 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
- Returns:
-
fromNative
static QOpenGLContext fromNative(QNativePointer context, QNativePointer window, QOpenGLContext shareContext) Adopts an WGL context handle
See
QNativeInterface::QWGLContext::
fromNative(HGLRC, HWND, QOpenGLContext*) - Parameters:
context
-window
-shareContext
-- Returns:
-
openGLModuleHandle
- Returns:
-
fromNative
Overloaded function for
fromNative(QNativePointer, QNativePointer, io.qt.gui.QOpenGLContext)
withshareContext = null
.
-