Kanzi 4.1.2
kanzi::platform::EglGraphicsContext::EglExtensionFlags Struct Reference

Represents support for EGL extensions. More...

#include <kanzi/platform/platform/gl/graphics_context/egl/egl_graphics_context.hpp>

Static Public Member Functions

static KZ_NO_DISCARD EglExtensionFlags fromStrings (const EGLVersion &version, const flat_set< string_view > &extensions) noexcept
 Creates an EglExtensionFlags from extension strings.
 

Public Attributes

bool hasEglKhrGlColorspace
 Indicates whether GL ColorSpace extension is supported.
 
bool hasEglKhrNoConfigContext
 Indicates whether the EGL_KHR_no_config_context extension is supported.
 
bool hasEglKhrSurfacelessContext
 Indicates whether Surfaceless context extension is supported.
 

Detailed Description

Represents support for EGL extensions.

Member Function Documentation

◆ fromStrings()

static KZ_NO_DISCARD EglExtensionFlags kanzi::platform::EglGraphicsContext::EglExtensionFlags::fromStrings ( const EGLVersion & version,
const flat_set< string_view > & extensions )
staticnoexcept

Creates an EglExtensionFlags from extension strings.

Parameters
extensionsEGL extension strings.
versionEGL version.
Returns
EGL extension flags.

Member Data Documentation

◆ hasEglKhrGlColorspace

bool kanzi::platform::EglGraphicsContext::EglExtensionFlags::hasEglKhrGlColorspace

Indicates whether GL ColorSpace extension is supported.

◆ hasEglKhrSurfacelessContext

bool kanzi::platform::EglGraphicsContext::EglExtensionFlags::hasEglKhrSurfacelessContext

Indicates whether Surfaceless context extension is supported.

◆ hasEglKhrNoConfigContext

bool kanzi::platform::EglGraphicsContext::EglExtensionFlags::hasEglKhrNoConfigContext

Indicates whether the EGL_KHR_no_config_context extension is supported.

Since
Kanzi 4.1.2

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