create_filament_viewer_ffi function
- @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(
- Pointer<Void> context,
- Pointer<Void> platform,
- Pointer<Char> uberArchivePath,
- Pointer<Void> loader,
- Pointer<NativeFunction<Void Function(Pointer<Void> renderCallbackOwner)>> renderCallback,
- Pointer<Void> renderCallbackOwner,
- 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,
);