create_filament_viewer_ffi function

  1. @Native<Void Function(Pointer<Void>, Pointer<Void>, Pointer<Char>, Pointer<Void>, Pointer<NativeFunction<Void Function(Pointer<Void> renderCallbackOwner)>>, Pointer<Void>, Pointer<NativeFunction<Void Function(Pointer<Void> viewer)>>)>(ffi.Pointer<ffi.Void>, ffi.Pointer<ffi.Void>, ffi.Pointer<ffi.Char>, ffi.Pointer<ffi.Void>, ffi.Pointer<ffi.NativeFunction<ffi.Void Function(ffi.Pointer<ffi.Void> renderCallbackOwner)>>, ffi.Pointer<ffi.Void>, ffi.Pointer<ffi.NativeFunction<ffi.Void Function(ffi.Pointer<ffi.Void> viewer)>>)>()
void create_filament_viewer_ffi(
  1. Pointer<Void> context,
  2. Pointer<Void> platform,
  3. Pointer<Char> uberArchivePath,
  4. Pointer<Void> loader,
  5. Pointer<NativeFunction<Void Function(Pointer<Void> renderCallbackOwner)>> renderCallback,
  6. Pointer<Void> renderCallbackOwner,
  7. Pointer<NativeFunction<Void Function(Pointer<Void> viewer)>> callback,
)

Implementation

@ffi.Native<
    ffi.Void Function(
        ffi.Pointer<ffi.Void>,
        ffi.Pointer<ffi.Void>,
        ffi.Pointer<ffi.Char>,
        ffi.Pointer<ffi.Void>,
        ffi.Pointer<
            ffi.NativeFunction<
                ffi.Void Function(ffi.Pointer<ffi.Void> renderCallbackOwner)>>,
        ffi.Pointer<ffi.Void>,
        ffi.Pointer<
            ffi.NativeFunction<
                ffi.Void Function(ffi.Pointer<ffi.Void> viewer)>>)>()
external void create_filament_viewer_ffi(
  ffi.Pointer<ffi.Void> context,
  ffi.Pointer<ffi.Void> platform,
  ffi.Pointer<ffi.Char> uberArchivePath,
  ffi.Pointer<ffi.Void> loader,
  ffi.Pointer<
          ffi.NativeFunction<
              ffi.Void Function(ffi.Pointer<ffi.Void> renderCallbackOwner)>>
      renderCallback,
  ffi.Pointer<ffi.Void> renderCallbackOwner,
  ffi.Pointer<
          ffi.NativeFunction<ffi.Void Function(ffi.Pointer<ffi.Void> viewer)>>
      callback,
);