- Qt 6.11
- Qt GUI
- C++ Classes
- QtGuiPrivate
- QRhiGles2NativeHandles
- Qt 6.11.1 Reference Documentation

# QRhiGles2NativeHandles Struct

Holds the OpenGL context used by the QRhi. More...

Header: | `#include <rhi/qrhi.h>`
CMake: | `find_package(Qt6 REQUIRED COMPONENTS GuiPrivate)` `target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate)`
qmake: | `QT += gui-private`
Since: | Qt 6.6
Inherits: | QRhiNativeHandles

- List of all members, including inherited members

## Public Variables

QOpenGLContext * | context

## Detailed Description

Note: This is a RHI API with limited compatibility guarantees, see QRhi for details.

## Member Variable Documentation

### QOpenGLContext *QRhiGles2NativeHandles::context