- All Superinterfaces:
QtObjectInterface
Native interface to an EGL context
Java wrapper for Qt class QNativeInterface::QEGLContext
- Since:
- This class was introduced in Qt 6.0.
-
Method Summary
Modifier and TypeMethodDescriptiondisplay()
static QOpenGLContext
fromNative
(QNativePointer context, QNativePointer display) Overloaded function forfromNative(QNativePointer, QNativePointer, io.qt.gui.QOpenGLContext)
withshareContext = null
.static QOpenGLContext
fromNative
(QNativePointer context, QNativePointer display, QOpenGLContext shareContext) Adopts an EGLContext contextvoid
Marks the context as invalidMethods inherited from interface io.qt.QtObjectInterface
dispose, isDisposed
-
Method Details
-
display
- Returns:
- Since:
- This function was introduced in Qt 6.3.
-
invalidateContext
Marks the context as invalid
- Since:
- This function was introduced in Qt 6.5.
-
nativeContext
- Returns:
-
fromNative
static QOpenGLContext fromNative(QNativePointer context, QNativePointer display, QOpenGLContext shareContext) Adopts an EGLContext context
See
QNativeInterface::QEGLContext::
fromNative(EGLContext, EGLDisplay, QOpenGLContext*) - Parameters:
context
-display
-shareContext
-- Returns:
-
fromNative
Overloaded function for
fromNative(QNativePointer, QNativePointer, io.qt.gui.QOpenGLContext)
withshareContext = null
.
-