Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CEGLAttributesVec Class Reference

#include <EGLUtils.h>

Classes

struct  EGLAttribute
 

Public Member Functions

void Add (std::initializer_list< EGLAttribute > const &attributes)
 
void Add (EGLAttribute const &attribute)
 
EGLint const * Get () const
 

Detailed Description

Convenience wrapper for heap-allocated EGL attribute arrays

The wrapper makes sure that the key/value pairs are always written in actual pairs and that the array is always terminated with EGL_NONE.

Member Function Documentation

◆ Add() [1/2]

void CEGLAttributesVec::Add ( EGLAttribute const & attribute)
inline

Add one attribute

The array is automatically terminated with EGL_NONE

◆ Add() [2/2]

void CEGLAttributesVec::Add ( std::initializer_list< EGLAttribute > const & attributes)
inline

Add multiple attributes

The array is automatically terminated with EGL_NONE

◆ Get()

EGLint const * CEGLAttributesVec::Get ( ) const
inline

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