- All Superinterfaces:
QtObjectInterface
Native interface to an NSOpenGLContext on macOS
Java wrapper for Qt class QNativeInterface::QCocoaGLContext
- Since:
- This class was introduced in Qt 6.0.
-
Method Summary
Modifier and TypeMethodDescriptionstatic QOpenGLContext
fromNative
(QNativePointer context) Overloaded function forfromNative(QNativePointer, io.qt.gui.QOpenGLContext)
withshareContext = null
.static QOpenGLContext
fromNative
(QNativePointer context, QOpenGLContext shareContext) Adopts an NSOpenGLContextMethods inherited from interface io.qt.QtObjectInterface
dispose, isDisposed
-
Method Details
-
nativeContext
- Returns:
-
fromNative
Adopts an NSOpenGLContext
See
QNativeInterface::QCocoaGLContext::
fromNative(NSOpenGLContext*, QOpenGLContext*) - Parameters:
context
-shareContext
-- Returns:
-
fromNative
Overloaded function for
fromNative(QNativePointer, io.qt.gui.QOpenGLContext)
withshareContext = null
.
-