- Qt 6.4
- Qt OpenGL
- OpenGL Examples from the Qt OpenGL module
- Hello GLES3 Example
- Qt 6.4.3 Reference Documentation

# Hello GLES3 Example

The Hello GLES3 example demonstrates easy, cross-platform usage of OpenGL ES 3.0 functions via QOpenGLExtraFunctions in an application that works identically on desktop platforms with OpenGL 3.3 and mobile/embedded devices with OpenGL ES 3.0.

The code is always the same, with the exception of two places:

- The OpenGL context creation has to have a sufficiently high version number for the features that are in use.
- The shader code's version directive is different.

Example project @ code.qt.io