eglCreateImage method

Pointer<Void> eglCreateImage(
  1. Pointer<Void> dpy,
  2. Pointer<Void> ctx,
  3. int target,
  4. Pointer<Void> buffer,
  5. Pointer<Int32> attrib_list,
)

Implementation

ffi.Pointer<ffi.Void> eglCreateImage(
  ffi.Pointer<ffi.Void> dpy,
  ffi.Pointer<ffi.Void> ctx,
  int target,
  ffi.Pointer<ffi.Void> buffer,
  ffi.Pointer<ffi.Int32> attrib_list,
) {
  return (_eglCreateImage ??=
      _dylib.lookupFunction<_c_eglCreateImage, _dart_eglCreateImage>(
          'eglCreateImage'))(
    dpy,
    ctx,
    target,
    buffer,
    attrib_list,
  );
}