The OpenGL and OpenGL ES backend exposes the graphics library that uses OpenGL.
◆ createOpenGLBackend()
Creates an OpenGL 4.x and OpenGLES 3.x compatible backend for the graphics library.
You can call this function before the graphics initialization.
- Parameters
-
| info | The OpenGL backend configuration information. |
- Returns
- A pointer to the created backend. If OpenGL is not available on the platform, returns a nullptr.
- Since
- Kanzi 4.0.0
◆ makeDefaultGlGraphicsContext()
Creates the default OpenGL context API implementation for the current platform.
You can call this function before the graphics initialization.
- Parameters
-
| platform | Reference to the platform context. |
| info | The OpenGL context API configuration information. |
- Returns
- A pointer to the newly created GL context API interface.
- Since
- Kanzi 4.0.0
-
Kanzi 4.1.0 renamed from createDefaultGlContextApi.
- Attention
- This feature is experimental and is likely to change in future releases.