QNativeInterface::QCocoaGLContext Struct
macOS에서 NSOpenGLContext에 대한 네이티브 인터페이스. 더 보기...
| 헤더: | #include <QOpenGLContext> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
| qmake: | QT += gui |
| 다음부터: | Qt 6.0부터 |
- 상속된 멤버를 포함한 모든 멤버 목록
- QCocoaGLContext는 네이티브 인터페이스의 일부입니다.
공개 함수
| QCocoaGLContext() | |
| QCocoaGLContext(const QNativeInterface::QCocoaGLContext &) | |
| QCocoaGLContext(QNativeInterface::QCocoaGLContext &&) | |
| virtual NSOpenGLContext * | nativeContext() const = 0 |
| QNativeInterface::QCocoaGLContext & | operator=(QNativeInterface::QCocoaGLContext &&) |
| QNativeInterface::QCocoaGLContext & | operator=(const QNativeInterface::QCocoaGLContext &) |
정적 공용 멤버
| QOpenGLContext * | fromNative(NSOpenGLContext *context, QOpenGLContext *shareContext = nullptr) |
상세한 설명
QOpenGLContext::nativeInterface()를 통해 액세스합니다.
멤버 함수 설명
[constexpr noexcept default] QCocoaGLContext::QCocoaGLContext()
QCocoaGLContext 의 인스턴스를 기본 생성합니다.
[delete] QCocoaGLContext::QCocoaGLContext(const QNativeInterface::QCocoaGLContext &)
QCocoaGLContext 의 인스턴스를 복사 생성합니다. 이 함수는 삭제되었습니다.
[delete] QCocoaGLContext::QCocoaGLContext(QNativeInterface::QCocoaGLContext &&)
QCocoaGLContext 의 인스턴스를 move-construct로 생성합니다. 이 함수는 삭제되었습니다.
[static] QOpenGLContext *QCocoaGLContext::fromNative(NSOpenGLContext *context, QOpenGLContext *shareContext = nullptr)
NSOpenGLContext를 채택합니다.
인수된 NSOpenGLContext context 는 유지됩니다. 생성된 QOpenGLContext shareContext 의 소유권은 호출자에게 이전됩니다.
[pure virtual] NSOpenGLContext *QCocoaGLContext::nativeContext() const
기본이 되는 NSOpenGLContext를 반환합니다.
[delete] QNativeInterface::QCocoaGLContext &QCocoaGLContext::operator=(QNativeInterface::QCocoaGLContext &&)
other 를 이 QCocoaGLContext 인스턴스에 할당합니다. 이 함수는 삭제됩니다.
[delete] QNativeInterface::QCocoaGLContext &QCocoaGLContext::operator=(const QNativeInterface::QCocoaGLContext &)
other 를 이 QCocoaGLContext 인스턴스에 복사-할당합니다. 이 함수는 삭제되었습니다.
© 2026 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.