The initialization parameters for the OpenGL platform. More...
#include <kanzi/platform/platform/context/opengl_platform.hpp>
Public Attributes | |
| bool | createESContext |
| If supported, create an OpenGL ES context instead of OpenGL. | |
| SharedLockedPtr< Platform > | platform |
| Platform instance pointer. | |
| SurfaceProperties | surfaceProperties |
| The properties of the off-screen pixel buffer. | |
The initialization parameters for the OpenGL platform.
| SharedLockedPtr<Platform> kanzi::platform::OpenGLPlatform::InitializationInfo::platform |
Platform instance pointer.
| SurfaceProperties kanzi::platform::OpenGLPlatform::InitializationInfo::surfaceProperties |
The properties of the off-screen pixel buffer.
This pixel buffer is never drawn to directly, but specifies information openGL needs in order to process commands. If this surfaceProperties matches the surfaceProperties of windows created through this API, the OpenGL backend is able to re-use many of it's created objects for both on-screen and off-screen rendering.
| bool kanzi::platform::OpenGLPlatform::InitializationInfo::createESContext |
If supported, create an OpenGL ES context instead of OpenGL.