create_render_target_ffi function

  1. @Native<Void Function(Pointer<Void>, IntPtr, Uint32, Uint32, Pointer<NativeFunction<Void Function()>>)>(ffi.Pointer<ffi.Void>, ffi.IntPtr, ffi.Uint32, ffi.Uint32, ffi.Pointer<ffi.NativeFunction<ffi.Void Function()>>)>()
void create_render_target_ffi(
  1. Pointer<Void> viewer,
  2. int nativeTextureId,
  3. int width,
  4. int height,
  5. Pointer<NativeFunction<Void Function()>> onComplete,
)

Implementation

@ffi.Native<
    ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.IntPtr, ffi.Uint32, ffi.Uint32,
        ffi.Pointer<ffi.NativeFunction<ffi.Void Function()>>)>()
external void create_render_target_ffi(
  ffi.Pointer<ffi.Void> viewer,
  int nativeTextureId,
  int width,
  int height,
  ffi.Pointer<ffi.NativeFunction<ffi.Void Function()>> onComplete,
);