eglChooseConfig method

int eglChooseConfig(
  1. Pointer<Void> dpy,
  2. Pointer<Int32> attrib_list,
  3. Pointer<Pointer<Void>> configs,
  4. int config_size,
  5. Pointer<Int32> num_config,
)

Implementation

int eglChooseConfig(
  ffi.Pointer<ffi.Void> dpy,
  ffi.Pointer<ffi.Int32> attrib_list,
  ffi.Pointer<ffi.Pointer<ffi.Void>> configs,
  int config_size,
  ffi.Pointer<ffi.Int32> num_config,
) {
  return (_eglChooseConfig ??=
      _dylib.lookupFunction<_c_eglChooseConfig, _dart_eglChooseConfig>(
          'eglChooseConfig'))(
    dpy,
    attrib_list,
    configs,
    config_size,
    num_config,
  );
}