Kanzi 4.0.0
kanzi::ohos::DefaultOhosEGLGraphicsOutputProperties Struct Reference

Struct representing the default OpenHarmony OS 4.1 EGL graphics output properties. More...

#include <kanzi/platform/platform/graphics_output/ohos_egl/default_ohos_egl_graphics_output_properties.hpp>

Public Member Functions

 DefaultOhosEGLGraphicsOutputProperties (const SystemConfiguration &configuration)
 Constructor.
 

Public Attributes

EGLCapabilities egl
 EGL capabilities.
 
NativeWindowHandle windowHandle
 Native window handle, as required by EGL.
 
windowing::SizeU windowSize
 Window size.
 

Detailed Description

Struct representing the default OpenHarmony OS 4.1 EGL graphics output properties.

Since
Kanzi 4.0.0

Constructor & Destructor Documentation

◆ DefaultOhosEGLGraphicsOutputProperties()

kanzi::ohos::DefaultOhosEGLGraphicsOutputProperties::DefaultOhosEGLGraphicsOutputProperties ( const SystemConfiguration & configuration)
explicit

Constructor.

In addition to the configuration parameters accepted by EGLCapabilities constructor, this constructor accepts the following: ConfigurationKeyDefaultWindowWidth, and ConfigurationKeyDefaultWindowHeight. The windowHandle member variable must be set separately.

Parameters
configurationConfiguration parameters for the default OpenHarmony OS 4.1 EGL graphics output.

Member Data Documentation

◆ windowHandle

NativeWindowHandle kanzi::ohos::DefaultOhosEGLGraphicsOutputProperties::windowHandle

Native window handle, as required by EGL.

◆ windowSize

windowing::SizeU kanzi::ohos::DefaultOhosEGLGraphicsOutputProperties::windowSize

Window size.

◆ egl

EGLCapabilities kanzi::ohos::DefaultOhosEGLGraphicsOutputProperties::egl

EGL capabilities.


The documentation for this struct was generated from the following file: