QCocoaGLContext Struct
struct QNativeInterface::QCocoaGLContextNative Schnittstelle zu einem NSOpenGLContext auf macOS. Mehr...
Kopfzeile: | #include <QOpenGLContext> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
qmake: | QT += gui |
Seit: | Qt 6.0 |
- Liste aller Mitglieder, einschließlich geerbter Mitglieder
- QCocoaGLContext ist Teil der Native Interfaces.
Öffentliche Funktionen
virtual NSOpenGLContext * | nativeContext() const = 0 |
Statische öffentliche Mitglieder
QOpenGLContext * | fromNative(NSOpenGLContext *context, QOpenGLContext *shareContext = nullptr) |
Detaillierte Beschreibung
Zu erreichen über QOpenGLContext::nativeInterface().
Dokumentation der Mitgliedsfunktionen
[static]
QOpenGLContext *QCocoaGLContext::fromNative(NSOpenGLContext *context, QOpenGLContext *shareContext = nullptr)
Nimmt einen NSOpenGLContext an.
Der übernommene NSOpenGLContext context wird beibehalten. Das Eigentum an dem erstellten QOpenGLContext shareContext wird an den Aufrufer übertragen.
[pure virtual]
NSOpenGLContext *QCocoaGLContext::nativeContext() const
Gibt den zugrunde liegenden NSOpenGLContext zurück.
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.