TSdlEglAttribArrayCallback
EGL platform attribute initialization callback.
This is called when SDL is attempting to create an EGL context, to let the app add extra attributes to its eglGetPlatformDisplay call.
The callback should return an array of EGL attributes array. If this method returns nil, the TSdlWindow.Create process will fail gracefully.
The arrays returned by each callback will be appended to the existing attribute arrays defined by SDL.
Definition
Unit: Neslib.Sdl3.Video
Returns
TArray<TSdlEglAttrib>
: An array of attributes.