Kanzi 3.9.10
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.
 
 EGLConfig (::EGLConfig configuration)
 Constructor.
 
KZ_NO_DISCARD::EGLConfig getNativeHandle () const noexcept
 Gets EGL configuration handle.
 

Static Public Member Functions

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

Detailed Description

Class representing a single EGL configuration.

Constructor & Destructor Documentation

◆ EGLConfig() [1/2]

kanzi::EGLConfig::EGLConfig ( )
explicit

Default constructor, creates a no configuration.

Postcondition
egl::getError() returns EGL_SUCCESS.

◆ EGLConfig() [2/2]

kanzi::EGLConfig::EGLConfig ( ::EGLConfig configuration)
explicit

Constructor.

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

Member Function Documentation

◆ getNoConfig()

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.

◆ getNativeHandle()

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: