Kanzi  3.9.4
Kanzi Engine API
kanzi::EGLConfig Class Reference

Class representing a single EGL config. More...

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

Public Member Functions

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

Static Public Member Functions

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

Detailed Description

Class representing a single EGL config.

Constructor & Destructor Documentation

◆ EGLConfig() [1/2]

kanzi::EGLConfig::EGLConfig ( )
explicit

Default constructor, creates a no config.

Postcondition
egl::getError() returns EGL_SUCCESS.

◆ EGLConfig() [2/2]

kanzi::EGLConfig::EGLConfig ( ::EGLConfig  config)
explicit

Constructor.

Parameters
configEGL config handle.
Postcondition
egl::getError() returns EGL_SUCCESS.

Member Function Documentation

◆ getNoConfig()

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

Gets a no config EGL handle.

Returns
EGL config handle with a value representing no config.

◆ getNativeHandle()

KZ_NO_DISCARD ::EGLConfig kanzi::EGLConfig::getNativeHandle ( ) const
noexcept

Gets EGL config handle.

Returns
EGL config handle.

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