Kanzi  3.9.9
Kanzi Engine C++ API
kanzi::EGLConfig Class Reference

Class representing a single EGL configuration. More...

#include <kanzi/core.ui/platform/context_api/egl/egl_config.hpp>

Public Member Functions

 EGLConfig ()
 Default constructor, creates a no configuration. More...
 
 EGLConfig (::EGLConfig configuration)
 Constructor. More...
 
KZ_NO_DISCARD::EGLConfig getNativeHandle () const noexcept
 Gets EGL configuration handle. More...
 

Static Public Member Functions

static KZ_NO_DISCARD::EGLConfig getNoConfig () noexcept
 Gets a no configuration EGL handle. More...
 

Detailed Description

Class representing a single EGL configuration.

Constructor & Destructor Documentation

kanzi::EGLConfig::EGLConfig ( )
explicit

Default constructor, creates a no configuration.

Postcondition
egl::getError() returns EGL_SUCCESS.
kanzi::EGLConfig::EGLConfig ( ::EGLConfig  configuration)
explicit

Constructor.

Parameters
configurationEGL configuration handle.
Postcondition
egl::getError() returns EGL_SUCCESS.

Member Function Documentation

static KZ_NO_DISCARD ::EGLConfig kanzi::EGLConfig::getNoConfig ( )
staticnoexcept

Gets a no configuration EGL handle.

Returns
EGL configuration handle with a value representing no configuration.
KZ_NO_DISCARD ::EGLConfig kanzi::EGLConfig::getNativeHandle ( ) const
noexcept

Gets EGL configuration handle.

Returns
EGL configuration handle.

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