|
|
|
|
@@ -10,7 +10,7 @@ import 'dart:ffi' as ffi;
|
|
|
|
|
ffi.Pointer<ResourceLoaderWrapper>,
|
|
|
|
|
ffi.Pointer<ffi.Void>,
|
|
|
|
|
ffi.Pointer<ffi.Char>)>(
|
|
|
|
|
symbol: 'create_filament_viewer', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'create_filament_viewer', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external ffi.Pointer<ffi.Void> create_filament_viewer(
|
|
|
|
|
ffi.Pointer<ffi.Void> context,
|
|
|
|
|
ffi.Pointer<ResourceLoaderWrapper> loader,
|
|
|
|
|
@@ -19,7 +19,7 @@ external ffi.Pointer<ffi.Void> create_filament_viewer(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>)>(
|
|
|
|
|
symbol: 'destroy_filament_viewer', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'destroy_filament_viewer', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void destroy_filament_viewer(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
);
|
|
|
|
|
@@ -29,7 +29,7 @@ external void destroy_filament_viewer(
|
|
|
|
|
LoadFilamentResourceFromOwner,
|
|
|
|
|
FreeFilamentResourceFromOwner,
|
|
|
|
|
ffi.Pointer<ffi.Void>)>(
|
|
|
|
|
symbol: 'make_resource_loader', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'make_resource_loader', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external ffi.Pointer<ResourceLoaderWrapper> make_resource_loader(
|
|
|
|
|
LoadFilamentResourceFromOwner loadFn,
|
|
|
|
|
FreeFilamentResourceFromOwner freeFn,
|
|
|
|
|
@@ -37,7 +37,7 @@ external ffi.Pointer<ResourceLoaderWrapper> make_resource_loader(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Pointer<ffi.Void> Function(ffi.Pointer<ffi.Void>)>(
|
|
|
|
|
symbol: 'get_asset_manager', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'get_asset_manager', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external ffi.Pointer<ffi.Void> get_asset_manager(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
);
|
|
|
|
|
@@ -45,7 +45,7 @@ external ffi.Pointer<ffi.Void> get_asset_manager(
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Void Function(
|
|
|
|
|
ffi.Pointer<ffi.Void>, ffi.IntPtr, ffi.Uint32, ffi.Uint32)>(
|
|
|
|
|
symbol: 'create_render_target', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'create_render_target', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void create_render_target(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
int texture,
|
|
|
|
|
@@ -54,7 +54,7 @@ external void create_render_target(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>)>(
|
|
|
|
|
symbol: 'clear_background_image', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'clear_background_image', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void clear_background_image(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
);
|
|
|
|
|
@@ -62,7 +62,7 @@ external void clear_background_image(
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Void Function(
|
|
|
|
|
ffi.Pointer<ffi.Void>, ffi.Pointer<ffi.Char>, ffi.Bool)>(
|
|
|
|
|
symbol: 'set_background_image', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_background_image', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void set_background_image(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
ffi.Pointer<ffi.Char> path,
|
|
|
|
|
@@ -72,7 +72,7 @@ external void set_background_image(
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Void Function(
|
|
|
|
|
ffi.Pointer<ffi.Void>, ffi.Float, ffi.Float, ffi.Bool)>(
|
|
|
|
|
symbol: 'set_background_image_position', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_background_image_position', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void set_background_image_position(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
double x,
|
|
|
|
|
@@ -83,7 +83,7 @@ external void set_background_image_position(
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Void Function(
|
|
|
|
|
ffi.Pointer<ffi.Void>, ffi.Float, ffi.Float, ffi.Float, ffi.Float)>(
|
|
|
|
|
symbol: 'set_background_color', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_background_color', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void set_background_color(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
double r,
|
|
|
|
|
@@ -93,21 +93,21 @@ external void set_background_color(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Int)>(
|
|
|
|
|
symbol: 'set_tone_mapping', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_tone_mapping', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void set_tone_mapping(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
int toneMapping,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Float)>(
|
|
|
|
|
symbol: 'set_bloom', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_bloom', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void set_bloom(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
double strength,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Pointer<ffi.Char>)>(
|
|
|
|
|
symbol: 'load_skybox', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'load_skybox', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void load_skybox(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
ffi.Pointer<ffi.Char> skyboxPath,
|
|
|
|
|
@@ -115,7 +115,7 @@ external void load_skybox(
|
|
|
|
|
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Pointer<ffi.Char>,
|
|
|
|
|
ffi.Float)>(symbol: 'load_ibl', assetId: 'libflutter_filament')
|
|
|
|
|
ffi.Float)>(symbol: 'load_ibl', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void load_ibl(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
ffi.Pointer<ffi.Char> iblPath,
|
|
|
|
|
@@ -123,13 +123,13 @@ external void load_ibl(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>)>(
|
|
|
|
|
symbol: 'remove_skybox', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'remove_skybox', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void remove_skybox(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>)>(
|
|
|
|
|
symbol: 'remove_ibl', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'remove_ibl', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void remove_ibl(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
);
|
|
|
|
|
@@ -146,7 +146,7 @@ external void remove_ibl(
|
|
|
|
|
ffi.Float,
|
|
|
|
|
ffi.Float,
|
|
|
|
|
ffi.Float,
|
|
|
|
|
ffi.Bool)>(symbol: 'add_light', assetId: 'libflutter_filament')
|
|
|
|
|
ffi.Bool)>(symbol: 'add_light', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external int add_light(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
int type,
|
|
|
|
|
@@ -162,21 +162,21 @@ external int add_light(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>, EntityId)>(
|
|
|
|
|
symbol: 'remove_light', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'remove_light', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void remove_light(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
int entityId,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>)>(
|
|
|
|
|
symbol: 'clear_lights', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'clear_lights', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void clear_lights(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
EntityId Function(ffi.Pointer<ffi.Void>, ffi.Pointer<ffi.Char>,
|
|
|
|
|
ffi.Bool)>(symbol: 'load_glb', assetId: 'libflutter_filament')
|
|
|
|
|
ffi.Bool)>(symbol: 'load_glb', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external int load_glb(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
ffi.Pointer<ffi.Char> assetPath,
|
|
|
|
|
@@ -186,7 +186,7 @@ external int load_glb(
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
EntityId Function(ffi.Pointer<ffi.Void>, ffi.Pointer<ffi.Char>,
|
|
|
|
|
ffi.Pointer<ffi.Char>)>(
|
|
|
|
|
symbol: 'load_gltf', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'load_gltf', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external int load_gltf(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
ffi.Pointer<ffi.Char> assetPath,
|
|
|
|
|
@@ -196,7 +196,7 @@ external int load_gltf(
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Bool Function(
|
|
|
|
|
ffi.Pointer<ffi.Void>, EntityId, ffi.Pointer<ffi.Char>)>(
|
|
|
|
|
symbol: 'set_camera', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_camera', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external bool set_camera(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
int asset,
|
|
|
|
|
@@ -204,7 +204,7 @@ external bool set_camera(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Bool)>(
|
|
|
|
|
symbol: 'set_view_frustum_culling', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_view_frustum_culling', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void set_view_frustum_culling(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
bool enabled,
|
|
|
|
|
@@ -220,7 +220,7 @@ external void set_view_frustum_culling(
|
|
|
|
|
ffi.Void Function(ffi.Pointer<ffi.Void> buf, ffi.Size size,
|
|
|
|
|
ffi.Pointer<ffi.Void> data)>>,
|
|
|
|
|
ffi.Pointer<ffi.Void>)>(
|
|
|
|
|
symbol: 'render', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'render', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void render(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
int frameTimeInNanos,
|
|
|
|
|
@@ -236,7 +236,7 @@ external void render(
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Pointer<ffi.Void>,
|
|
|
|
|
ffi.Uint32, ffi.Uint32)>(
|
|
|
|
|
symbol: 'create_swap_chain', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'create_swap_chain', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void create_swap_chain(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
ffi.Pointer<ffi.Void> window,
|
|
|
|
|
@@ -245,13 +245,13 @@ external void create_swap_chain(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>)>(
|
|
|
|
|
symbol: 'destroy_swap_chain', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'destroy_swap_chain', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void destroy_swap_chain(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Float)>(
|
|
|
|
|
symbol: 'set_frame_interval', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_frame_interval', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void set_frame_interval(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
double interval,
|
|
|
|
|
@@ -261,7 +261,7 @@ external void set_frame_interval(
|
|
|
|
|
ffi.Void Function(
|
|
|
|
|
ffi.Pointer<ffi.Void>, ffi.Uint32, ffi.Uint32, ffi.Float)>(
|
|
|
|
|
symbol: 'update_viewport_and_camera_projection',
|
|
|
|
|
assetId: 'libflutter_filament')
|
|
|
|
|
assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void update_viewport_and_camera_projection(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
int width,
|
|
|
|
|
@@ -270,14 +270,14 @@ external void update_viewport_and_camera_projection(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>)>(
|
|
|
|
|
symbol: 'scroll_begin', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'scroll_begin', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void scroll_begin(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Float, ffi.Float,
|
|
|
|
|
ffi.Float)>(symbol: 'scroll_update', assetId: 'libflutter_filament')
|
|
|
|
|
ffi.Float)>(symbol: 'scroll_update', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void scroll_update(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
double x,
|
|
|
|
|
@@ -286,14 +286,14 @@ external void scroll_update(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>)>(
|
|
|
|
|
symbol: 'scroll_end', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'scroll_end', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void scroll_end(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Float, ffi.Float,
|
|
|
|
|
ffi.Bool)>(symbol: 'grab_begin', assetId: 'libflutter_filament')
|
|
|
|
|
ffi.Bool)>(symbol: 'grab_begin', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void grab_begin(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
double x,
|
|
|
|
|
@@ -302,7 +302,7 @@ external void grab_begin(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Float, ffi.Float)>(
|
|
|
|
|
symbol: 'grab_update', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'grab_update', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void grab_update(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
double x,
|
|
|
|
|
@@ -310,7 +310,7 @@ external void grab_update(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>)>(
|
|
|
|
|
symbol: 'grab_end', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'grab_end', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void grab_end(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
);
|
|
|
|
|
@@ -321,7 +321,7 @@ external void grab_end(
|
|
|
|
|
EntityId,
|
|
|
|
|
ffi.Pointer<ffi.Char>,
|
|
|
|
|
ffi.Pointer<ffi.Float>,
|
|
|
|
|
ffi.Int)>(symbol: 'apply_weights', assetId: 'libflutter_filament')
|
|
|
|
|
ffi.Int)>(symbol: 'apply_weights', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void apply_weights(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
int asset,
|
|
|
|
|
@@ -333,7 +333,7 @@ external void apply_weights(
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Void Function(ffi.Pointer<ffi.Void>, EntityId,
|
|
|
|
|
ffi.Pointer<ffi.Char>, ffi.Pointer<ffi.Float>, ffi.Int)>(
|
|
|
|
|
symbol: 'set_morph_target_weights', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_morph_target_weights', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void set_morph_target_weights(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
int asset,
|
|
|
|
|
@@ -352,7 +352,7 @@ external void set_morph_target_weights(
|
|
|
|
|
ffi.Int,
|
|
|
|
|
ffi.Int,
|
|
|
|
|
ffi.Float)>(
|
|
|
|
|
symbol: 'set_morph_animation', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_morph_animation', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external bool set_morph_animation(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
int asset,
|
|
|
|
|
@@ -375,7 +375,7 @@ external bool set_morph_animation(
|
|
|
|
|
ffi.Pointer<ffi.Pointer<ffi.Char>>,
|
|
|
|
|
ffi.Int,
|
|
|
|
|
ffi.Float)>(
|
|
|
|
|
symbol: 'set_bone_animation', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_bone_animation', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void set_bone_animation(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
int asset,
|
|
|
|
|
@@ -389,14 +389,9 @@ external void set_bone_animation(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Void Function(
|
|
|
|
|
ffi.Pointer<ffi.Void>,
|
|
|
|
|
EntityId,
|
|
|
|
|
ffi.Int,
|
|
|
|
|
ffi.Bool,
|
|
|
|
|
ffi.Bool,
|
|
|
|
|
ffi.Bool,
|
|
|
|
|
ffi.Float)>(symbol: 'play_animation', assetId: 'libflutter_filament')
|
|
|
|
|
ffi.Void Function(ffi.Pointer<ffi.Void>, EntityId, ffi.Int, ffi.Bool,
|
|
|
|
|
ffi.Bool, ffi.Bool, ffi.Float)>(
|
|
|
|
|
symbol: 'play_animation', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void play_animation(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
int asset,
|
|
|
|
|
@@ -409,7 +404,7 @@ external void play_animation(
|
|
|
|
|
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Void Function(ffi.Pointer<ffi.Void>, EntityId, ffi.Int, ffi.Int)>(
|
|
|
|
|
symbol: 'set_animation_frame', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_animation_frame', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void set_animation_frame(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
int asset,
|
|
|
|
|
@@ -418,7 +413,7 @@ external void set_animation_frame(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>, EntityId, ffi.Int)>(
|
|
|
|
|
symbol: 'stop_animation', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'stop_animation', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void stop_animation(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
int asset,
|
|
|
|
|
@@ -426,15 +421,16 @@ external void stop_animation(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Int Function(ffi.Pointer<ffi.Void>, EntityId)>(
|
|
|
|
|
symbol: 'get_animation_count', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'get_animation_count', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external int get_animation_count(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
int asset,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Void Function(ffi.Pointer<ffi.Void>, EntityId, ffi.Pointer<ffi.Char>,
|
|
|
|
|
ffi.Int)>(symbol: 'get_animation_name', assetId: 'libflutter_filament')
|
|
|
|
|
ffi.Void Function(
|
|
|
|
|
ffi.Pointer<ffi.Void>, EntityId, ffi.Pointer<ffi.Char>, ffi.Int)>(
|
|
|
|
|
symbol: 'get_animation_name', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void get_animation_name(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
int asset,
|
|
|
|
|
@@ -443,7 +439,7 @@ external void get_animation_name(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Float Function(ffi.Pointer<ffi.Void>, EntityId, ffi.Int)>(
|
|
|
|
|
symbol: 'get_animation_duration', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'get_animation_duration', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external double get_animation_duration(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
int asset,
|
|
|
|
|
@@ -453,7 +449,7 @@ external double get_animation_duration(
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Void Function(ffi.Pointer<ffi.Void>, EntityId,
|
|
|
|
|
ffi.Pointer<ffi.Char>, ffi.Pointer<ffi.Char>, ffi.Int)>(
|
|
|
|
|
symbol: 'get_morph_target_name', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'get_morph_target_name', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void get_morph_target_name(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
int asset,
|
|
|
|
|
@@ -465,7 +461,7 @@ external void get_morph_target_name(
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Int Function(
|
|
|
|
|
ffi.Pointer<ffi.Void>, EntityId, ffi.Pointer<ffi.Char>)>(
|
|
|
|
|
symbol: 'get_morph_target_name_count', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'get_morph_target_name_count', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external int get_morph_target_name_count(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
int asset,
|
|
|
|
|
@@ -473,14 +469,14 @@ external int get_morph_target_name_count(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>, EntityId)>(
|
|
|
|
|
symbol: 'remove_asset', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'remove_asset', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void remove_asset(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
int asset,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>)>(
|
|
|
|
|
symbol: 'clear_assets', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'clear_assets', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void clear_assets(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
);
|
|
|
|
|
@@ -495,7 +491,7 @@ external void clear_assets(
|
|
|
|
|
ffi.Float,
|
|
|
|
|
ffi.Float,
|
|
|
|
|
ffi.Float)>(
|
|
|
|
|
symbol: 'set_material_color', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_material_color', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external bool set_material_color(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
int asset,
|
|
|
|
|
@@ -508,7 +504,7 @@ external bool set_material_color(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>, EntityId)>(
|
|
|
|
|
symbol: 'transform_to_unit_cube', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'transform_to_unit_cube', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void transform_to_unit_cube(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
int asset,
|
|
|
|
|
@@ -516,7 +512,7 @@ external void transform_to_unit_cube(
|
|
|
|
|
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Void Function(ffi.Pointer<ffi.Void>, EntityId, ffi.Float, ffi.Float,
|
|
|
|
|
ffi.Float)>(symbol: 'set_position', assetId: 'libflutter_filament')
|
|
|
|
|
ffi.Float)>(symbol: 'set_position', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void set_position(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
int asset,
|
|
|
|
|
@@ -532,7 +528,7 @@ external void set_position(
|
|
|
|
|
ffi.Float,
|
|
|
|
|
ffi.Float,
|
|
|
|
|
ffi.Float,
|
|
|
|
|
ffi.Float)>(symbol: 'set_rotation', assetId: 'libflutter_filament')
|
|
|
|
|
ffi.Float)>(symbol: 'set_rotation', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void set_rotation(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
int asset,
|
|
|
|
|
@@ -543,7 +539,7 @@ external void set_rotation(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>, EntityId, ffi.Float)>(
|
|
|
|
|
symbol: 'set_scale', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_scale', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void set_scale(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
int asset,
|
|
|
|
|
@@ -551,7 +547,7 @@ external void set_scale(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>, EntityId)>(
|
|
|
|
|
symbol: 'move_camera_to_asset', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'move_camera_to_asset', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void move_camera_to_asset(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
int asset,
|
|
|
|
|
@@ -560,7 +556,7 @@ external void move_camera_to_asset(
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Void Function(
|
|
|
|
|
ffi.Pointer<ffi.Void>, ffi.Float, ffi.Float, ffi.Float)>(
|
|
|
|
|
symbol: 'set_camera_exposure', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_camera_exposure', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void set_camera_exposure(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
double aperture,
|
|
|
|
|
@@ -571,7 +567,7 @@ external void set_camera_exposure(
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Void Function(
|
|
|
|
|
ffi.Pointer<ffi.Void>, ffi.Float, ffi.Float, ffi.Float)>(
|
|
|
|
|
symbol: 'set_camera_position', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_camera_position', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void set_camera_position(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
double x,
|
|
|
|
|
@@ -580,7 +576,7 @@ external void set_camera_position(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>)>(
|
|
|
|
|
symbol: 'get_camera_position', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'get_camera_position', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void get_camera_position(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
);
|
|
|
|
|
@@ -588,7 +584,7 @@ external void get_camera_position(
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Void Function(
|
|
|
|
|
ffi.Pointer<ffi.Void>, ffi.Float, ffi.Float, ffi.Float, ffi.Float)>(
|
|
|
|
|
symbol: 'set_camera_rotation', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_camera_rotation', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void set_camera_rotation(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
double rads,
|
|
|
|
|
@@ -598,45 +594,63 @@ external void set_camera_rotation(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Pointer<ffi.Float>)>(
|
|
|
|
|
symbol: 'set_camera_model_matrix', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_camera_model_matrix', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void set_camera_model_matrix(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
ffi.Pointer<ffi.Float> matrix,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Pointer<ffi.Double> Function(ffi.Pointer<ffi.Void>)>(
|
|
|
|
|
symbol: 'get_camera_model_matrix', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'get_camera_model_matrix', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external ffi.Pointer<ffi.Double> get_camera_model_matrix(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Pointer<ffi.Double> Function(ffi.Pointer<ffi.Void>)>(
|
|
|
|
|
symbol: 'get_camera_view_matrix', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'get_camera_view_matrix', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external ffi.Pointer<ffi.Double> get_camera_view_matrix(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Pointer<ffi.Double> Function(ffi.Pointer<ffi.Void>)>(
|
|
|
|
|
symbol: 'get_camera_projection_matrix', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'get_camera_projection_matrix', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external ffi.Pointer<ffi.Double> get_camera_projection_matrix(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Pointer<ffi.Double>,
|
|
|
|
|
ffi.Double, ffi.Double)>(
|
|
|
|
|
symbol: 'set_camera_projection_matrix', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void set_camera_projection_matrix(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
ffi.Pointer<ffi.Double> matrix,
|
|
|
|
|
double near,
|
|
|
|
|
double far,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Pointer<ffi.Double> Function(ffi.Pointer<ffi.Void>)>(
|
|
|
|
|
symbol: 'get_camera_frustum', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'get_camera_culling_projection_matrix',
|
|
|
|
|
assetId: 'flutter_filament_plugin')
|
|
|
|
|
external ffi.Pointer<ffi.Double> get_camera_culling_projection_matrix(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Pointer<ffi.Double> Function(ffi.Pointer<ffi.Void>)>(
|
|
|
|
|
symbol: 'get_camera_frustum', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external ffi.Pointer<ffi.Double> get_camera_frustum(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Float)>(
|
|
|
|
|
symbol: 'set_camera_focal_length', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_camera_focal_length', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void set_camera_focal_length(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
double focalLength,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Float)>(
|
|
|
|
|
symbol: 'set_camera_focus_distance', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_camera_focus_distance', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void set_camera_focus_distance(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
double focusDistance,
|
|
|
|
|
@@ -645,7 +659,8 @@ external void set_camera_focus_distance(
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Void Function(ffi.Pointer<ffi.Void>, _ManipulatorMode, ffi.Double,
|
|
|
|
|
ffi.Double, ffi.Double)>(
|
|
|
|
|
symbol: 'set_camera_manipulator_options', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_camera_manipulator_options',
|
|
|
|
|
assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void set_camera_manipulator_options(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
int mode,
|
|
|
|
|
@@ -657,7 +672,7 @@ external void set_camera_manipulator_options(
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Int Function(
|
|
|
|
|
ffi.Pointer<ffi.Void>, EntityId, ffi.Pointer<ffi.Char>)>(
|
|
|
|
|
symbol: 'hide_mesh', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'hide_mesh', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external int hide_mesh(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
int asset,
|
|
|
|
|
@@ -667,7 +682,7 @@ external int hide_mesh(
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Int Function(
|
|
|
|
|
ffi.Pointer<ffi.Void>, EntityId, ffi.Pointer<ffi.Char>)>(
|
|
|
|
|
symbol: 'reveal_mesh', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'reveal_mesh', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external int reveal_mesh(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
int asset,
|
|
|
|
|
@@ -675,15 +690,16 @@ external int reveal_mesh(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Bool)>(
|
|
|
|
|
symbol: 'set_post_processing', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_post_processing', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void set_post_processing(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
bool enabled,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Int, ffi.Int,
|
|
|
|
|
ffi.Pointer<EntityId>)>(symbol: 'pick', assetId: 'libflutter_filament')
|
|
|
|
|
ffi.Void Function(
|
|
|
|
|
ffi.Pointer<ffi.Void>, ffi.Int, ffi.Int, ffi.Pointer<EntityId>)>(
|
|
|
|
|
symbol: 'pick', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void pick(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
int x,
|
|
|
|
|
@@ -692,18 +708,18 @@ external void pick(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Pointer<ffi.Char> Function(ffi.Pointer<ffi.Void>, EntityId)>(
|
|
|
|
|
symbol: 'get_name_for_entity', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'get_name_for_entity', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external ffi.Pointer<ffi.Char> get_name_for_entity(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
int entityId,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function()>(
|
|
|
|
|
symbol: 'ios_dummy', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'ios_dummy', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void ios_dummy();
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>)>(
|
|
|
|
|
symbol: 'flutter_filament_free', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'flutter_filament_free', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void flutter_filament_free(
|
|
|
|
|
ffi.Pointer<ffi.Void> ptr,
|
|
|
|
|
);
|
|
|
|
|
@@ -720,7 +736,7 @@ external void flutter_filament_free(
|
|
|
|
|
ffi.Void Function(
|
|
|
|
|
ffi.Pointer<ffi.Void> renderCallbackOwner)>>,
|
|
|
|
|
ffi.Pointer<ffi.Void>)>(
|
|
|
|
|
symbol: 'create_filament_viewer_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'create_filament_viewer_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external ffi.Pointer<ffi.Void> create_filament_viewer_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> context,
|
|
|
|
|
ffi.Pointer<ffi.Void> platform,
|
|
|
|
|
@@ -736,7 +752,7 @@ external ffi.Pointer<ffi.Void> create_filament_viewer_ffi(
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Pointer<ffi.Void>,
|
|
|
|
|
ffi.Uint32, ffi.Uint32)>(
|
|
|
|
|
symbol: 'create_swap_chain_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'create_swap_chain_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void create_swap_chain_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
ffi.Pointer<ffi.Void> surface,
|
|
|
|
|
@@ -745,7 +761,7 @@ external void create_swap_chain_ffi(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>)>(
|
|
|
|
|
symbol: 'destroy_swap_chain_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'destroy_swap_chain_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void destroy_swap_chain_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
);
|
|
|
|
|
@@ -753,7 +769,7 @@ external void destroy_swap_chain_ffi(
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Void Function(
|
|
|
|
|
ffi.Pointer<ffi.Void>, ffi.IntPtr, ffi.Uint32, ffi.Uint32)>(
|
|
|
|
|
symbol: 'create_render_target_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'create_render_target_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void create_render_target_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
int nativeTextureId,
|
|
|
|
|
@@ -762,32 +778,33 @@ external void create_render_target_ffi(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>)>(
|
|
|
|
|
symbol: 'destroy_filament_viewer_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'destroy_filament_viewer_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void destroy_filament_viewer_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>)>(
|
|
|
|
|
symbol: 'render_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'render_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void render_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<FilamentRenderCallback Function(FilamentRenderCallback)>(
|
|
|
|
|
symbol: 'make_render_callback_fn_pointer', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'make_render_callback_fn_pointer',
|
|
|
|
|
assetId: 'flutter_filament_plugin')
|
|
|
|
|
external FilamentRenderCallback make_render_callback_fn_pointer(
|
|
|
|
|
FilamentRenderCallback arg0,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Bool)>(
|
|
|
|
|
symbol: 'set_rendering_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_rendering_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void set_rendering_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
bool rendering,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Float)>(
|
|
|
|
|
symbol: 'set_frame_interval_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_frame_interval_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void set_frame_interval_ffi(
|
|
|
|
|
double frameInterval,
|
|
|
|
|
);
|
|
|
|
|
@@ -796,7 +813,7 @@ external void set_frame_interval_ffi(
|
|
|
|
|
ffi.Void Function(
|
|
|
|
|
ffi.Pointer<ffi.Void>, ffi.Uint32, ffi.Uint32, ffi.Float)>(
|
|
|
|
|
symbol: 'update_viewport_and_camera_projection_ffi',
|
|
|
|
|
assetId: 'libflutter_filament')
|
|
|
|
|
assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void update_viewport_and_camera_projection_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
int width,
|
|
|
|
|
@@ -807,7 +824,7 @@ external void update_viewport_and_camera_projection_ffi(
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Void Function(
|
|
|
|
|
ffi.Pointer<ffi.Void>, ffi.Float, ffi.Float, ffi.Float, ffi.Float)>(
|
|
|
|
|
symbol: 'set_background_color_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_background_color_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void set_background_color_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
double r,
|
|
|
|
|
@@ -817,7 +834,7 @@ external void set_background_color_ffi(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>)>(
|
|
|
|
|
symbol: 'clear_background_image_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'clear_background_image_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void clear_background_image_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
);
|
|
|
|
|
@@ -825,7 +842,7 @@ external void clear_background_image_ffi(
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Void Function(
|
|
|
|
|
ffi.Pointer<ffi.Void>, ffi.Pointer<ffi.Char>, ffi.Bool)>(
|
|
|
|
|
symbol: 'set_background_image_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_background_image_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void set_background_image_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
ffi.Pointer<ffi.Char> path,
|
|
|
|
|
@@ -835,7 +852,8 @@ external void set_background_image_ffi(
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Void Function(
|
|
|
|
|
ffi.Pointer<ffi.Void>, ffi.Float, ffi.Float, ffi.Bool)>(
|
|
|
|
|
symbol: 'set_background_image_position_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_background_image_position_ffi',
|
|
|
|
|
assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void set_background_image_position_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
double x,
|
|
|
|
|
@@ -844,21 +862,21 @@ external void set_background_image_position_ffi(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Int)>(
|
|
|
|
|
symbol: 'set_tone_mapping_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_tone_mapping_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void set_tone_mapping_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
int toneMapping,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Float)>(
|
|
|
|
|
symbol: 'set_bloom_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_bloom_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void set_bloom_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
double strength,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Pointer<ffi.Char>)>(
|
|
|
|
|
symbol: 'load_skybox_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'load_skybox_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void load_skybox_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
ffi.Pointer<ffi.Char> skyboxPath,
|
|
|
|
|
@@ -866,7 +884,7 @@ external void load_skybox_ffi(
|
|
|
|
|
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Pointer<ffi.Char>,
|
|
|
|
|
ffi.Float)>(symbol: 'load_ibl_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
ffi.Float)>(symbol: 'load_ibl_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void load_ibl_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
ffi.Pointer<ffi.Char> iblPath,
|
|
|
|
|
@@ -874,13 +892,13 @@ external void load_ibl_ffi(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>)>(
|
|
|
|
|
symbol: 'remove_skybox_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'remove_skybox_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void remove_skybox_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>)>(
|
|
|
|
|
symbol: 'remove_ibl_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'remove_ibl_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void remove_ibl_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
);
|
|
|
|
|
@@ -897,7 +915,7 @@ external void remove_ibl_ffi(
|
|
|
|
|
ffi.Float,
|
|
|
|
|
ffi.Float,
|
|
|
|
|
ffi.Float,
|
|
|
|
|
ffi.Bool)>(symbol: 'add_light_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
ffi.Bool)>(symbol: 'add_light_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external int add_light_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
int type,
|
|
|
|
|
@@ -913,21 +931,21 @@ external int add_light_ffi(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>, EntityId)>(
|
|
|
|
|
symbol: 'remove_light_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'remove_light_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void remove_light_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
int entityId,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>)>(
|
|
|
|
|
symbol: 'clear_lights_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'clear_lights_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void clear_lights_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
EntityId Function(ffi.Pointer<ffi.Void>, ffi.Pointer<ffi.Char>,
|
|
|
|
|
ffi.Bool)>(symbol: 'load_glb_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
ffi.Bool)>(symbol: 'load_glb_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external int load_glb_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
ffi.Pointer<ffi.Char> assetPath,
|
|
|
|
|
@@ -937,7 +955,7 @@ external int load_glb_ffi(
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
EntityId Function(ffi.Pointer<ffi.Void>, ffi.Pointer<ffi.Char>,
|
|
|
|
|
ffi.Pointer<ffi.Char>)>(
|
|
|
|
|
symbol: 'load_gltf_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'load_gltf_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external int load_gltf_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
ffi.Pointer<ffi.Char> assetPath,
|
|
|
|
|
@@ -945,14 +963,14 @@ external int load_gltf_ffi(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>, EntityId)>(
|
|
|
|
|
symbol: 'remove_asset_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'remove_asset_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void remove_asset_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
int asset,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>)>(
|
|
|
|
|
symbol: 'clear_assets_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'clear_assets_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void clear_assets_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
);
|
|
|
|
|
@@ -960,7 +978,7 @@ external void clear_assets_ffi(
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Bool Function(
|
|
|
|
|
ffi.Pointer<ffi.Void>, EntityId, ffi.Pointer<ffi.Char>)>(
|
|
|
|
|
symbol: 'set_camera_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_camera_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external bool set_camera_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
int asset,
|
|
|
|
|
@@ -968,12 +986,9 @@ external bool set_camera_ffi(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Void Function(
|
|
|
|
|
ffi.Pointer<ffi.Void>,
|
|
|
|
|
EntityId,
|
|
|
|
|
ffi.Pointer<ffi.Char>,
|
|
|
|
|
ffi.Pointer<ffi.Float>,
|
|
|
|
|
ffi.Int)>(symbol: 'apply_weights_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
ffi.Void Function(ffi.Pointer<ffi.Void>, EntityId,
|
|
|
|
|
ffi.Pointer<ffi.Char>, ffi.Pointer<ffi.Float>, ffi.Int)>(
|
|
|
|
|
symbol: 'apply_weights_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void apply_weights_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
int asset,
|
|
|
|
|
@@ -985,7 +1000,7 @@ external void apply_weights_ffi(
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Void Function(ffi.Pointer<ffi.Void>, EntityId,
|
|
|
|
|
ffi.Pointer<ffi.Char>, ffi.Pointer<ffi.Float>, ffi.Int)>(
|
|
|
|
|
symbol: 'set_morph_target_weights_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_morph_target_weights_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void set_morph_target_weights_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
int asset,
|
|
|
|
|
@@ -1004,7 +1019,7 @@ external void set_morph_target_weights_ffi(
|
|
|
|
|
ffi.Int,
|
|
|
|
|
ffi.Int,
|
|
|
|
|
ffi.Float)>(
|
|
|
|
|
symbol: 'set_morph_animation_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_morph_animation_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external bool set_morph_animation_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
int asset,
|
|
|
|
|
@@ -1027,7 +1042,7 @@ external bool set_morph_animation_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Pointer<ffi.Char>>,
|
|
|
|
|
ffi.Int,
|
|
|
|
|
ffi.Float)>(
|
|
|
|
|
symbol: 'set_bone_animation_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_bone_animation_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void set_bone_animation_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
int asset,
|
|
|
|
|
@@ -1043,7 +1058,7 @@ external void set_bone_animation_ffi(
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Void Function(ffi.Pointer<ffi.Void>, EntityId, ffi.Int, ffi.Bool,
|
|
|
|
|
ffi.Bool, ffi.Bool, ffi.Float)>(
|
|
|
|
|
symbol: 'play_animation_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'play_animation_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void play_animation_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
int asset,
|
|
|
|
|
@@ -1056,7 +1071,7 @@ external void play_animation_ffi(
|
|
|
|
|
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Void Function(ffi.Pointer<ffi.Void>, EntityId, ffi.Int, ffi.Int)>(
|
|
|
|
|
symbol: 'set_animation_frame_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_animation_frame_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void set_animation_frame_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
int asset,
|
|
|
|
|
@@ -1065,7 +1080,7 @@ external void set_animation_frame_ffi(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>, EntityId, ffi.Int)>(
|
|
|
|
|
symbol: 'stop_animation_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'stop_animation_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void stop_animation_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
int asset,
|
|
|
|
|
@@ -1073,7 +1088,7 @@ external void stop_animation_ffi(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Int Function(ffi.Pointer<ffi.Void>, EntityId)>(
|
|
|
|
|
symbol: 'get_animation_count_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'get_animation_count_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external int get_animation_count_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
int asset,
|
|
|
|
|
@@ -1082,7 +1097,7 @@ external int get_animation_count_ffi(
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Void Function(
|
|
|
|
|
ffi.Pointer<ffi.Void>, EntityId, ffi.Pointer<ffi.Char>, ffi.Int)>(
|
|
|
|
|
symbol: 'get_animation_name_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'get_animation_name_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void get_animation_name_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
int asset,
|
|
|
|
|
@@ -1093,7 +1108,7 @@ external void get_animation_name_ffi(
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Void Function(ffi.Pointer<ffi.Void>, EntityId,
|
|
|
|
|
ffi.Pointer<ffi.Char>, ffi.Pointer<ffi.Char>, ffi.Int)>(
|
|
|
|
|
symbol: 'get_morph_target_name_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'get_morph_target_name_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void get_morph_target_name_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
int asset,
|
|
|
|
|
@@ -1105,7 +1120,8 @@ external void get_morph_target_name_ffi(
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Int Function(
|
|
|
|
|
ffi.Pointer<ffi.Void>, EntityId, ffi.Pointer<ffi.Char>)>(
|
|
|
|
|
symbol: 'get_morph_target_name_count_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'get_morph_target_name_count_ffi',
|
|
|
|
|
assetId: 'flutter_filament_plugin')
|
|
|
|
|
external int get_morph_target_name_count_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> assetManager,
|
|
|
|
|
int asset,
|
|
|
|
|
@@ -1113,7 +1129,7 @@ external int get_morph_target_name_count_ffi(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Bool)>(
|
|
|
|
|
symbol: 'set_post_processing_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'set_post_processing_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void set_post_processing_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
bool enabled,
|
|
|
|
|
@@ -1122,7 +1138,7 @@ external void set_post_processing_ffi(
|
|
|
|
|
@ffi.Native<
|
|
|
|
|
ffi.Void Function(
|
|
|
|
|
ffi.Pointer<ffi.Void>, ffi.Int, ffi.Int, ffi.Pointer<EntityId>)>(
|
|
|
|
|
symbol: 'pick_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'pick_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void pick_ffi(
|
|
|
|
|
ffi.Pointer<ffi.Void> viewer,
|
|
|
|
|
int x,
|
|
|
|
|
@@ -1131,7 +1147,7 @@ external void pick_ffi(
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
@ffi.Native<ffi.Void Function()>(
|
|
|
|
|
symbol: 'ios_dummy_ffi', assetId: 'libflutter_filament')
|
|
|
|
|
symbol: 'ios_dummy_ffi', assetId: 'flutter_filament_plugin')
|
|
|
|
|
external void ios_dummy_ffi();
|
|
|
|
|
|
|
|
|
|
final class __mbstate_t extends ffi.Union {
|
|
|
|
|
|