A class encapsulating a Cocoa NSOpenGLContext. More...
Header: | #include <QCocoaNativeContext> |
Since: | Qt 5.4 |
This struct was introduced in Qt 5.4.
QCocoaNativeContext(NSOpenGLContext *ctx) | |
QCocoaNativeContext() | |
NSOpenGLContext * | context() const |
Note: There is no binary compatibility guarantee for this class, meaning that an application using it is only guaranteed to work with the Qt version it was developed against.
See also QOpenGLContext::setNativeHandle() and QOpenGLContext::nativeHandle().
Constructs a new instance with the provided ctx handle.
Construct a new instance with no handles.
Returns the context.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.15/qcocoanativecontext.html