| kodi
    | 
Convenience wrapper for stack-allocated EGL attribute arrays. More...
#include <EGLUtils.h>
| Classes | |
| struct | EGLAttribute | 
| Public Member Functions | |
| void | Add (std::initializer_list< EGLAttribute > const &attributes) | 
| Add multiple attributes.  More... | |
| void | Add (EGLAttribute const &attribute) | 
| Add one attribute.  More... | |
| EGLint const * | Get () const | 
| int | Size () const | 
Convenience wrapper for stack-allocated EGL attribute arrays.
The wrapper makes sure that the key/value pairs are always written in actual pairs, that the array is always terminated with EGL_NONE, and that the bounds of the array are not exceeded (checked on runtime).
| AttributeCount | maximum number of attributes that can be added. Determines the size of the storage array. | 
| 
 | inline | 
Add multiple attributes.
The array is automatically terminated with EGL_NONE
| std::out_of_range | if more than AttributeCount attributes are added in total | 
| 
 | inline | 
Add one attribute.
The array is automatically terminated with EGL_NONE
| std::out_of_range | if more than AttributeCount attributes are added in total | 
 1.8.13
 1.8.13