load_gltf_ffi function

  1. @Native<Void Function(Pointer<Void>, Pointer<Char>, Pointer<Char>, Pointer<NativeFunction<Void Function(EntityId)>>)>(ffi.Pointer<ffi.Void>, ffi.Pointer<ffi.Char>, ffi.Pointer<ffi.Char>, ffi.Pointer<ffi.NativeFunction<ffi.Void Function(EntityId)>>)>(symbol: '_load_gltf_ffi', assetId: 'thermion_dart')
void load_gltf_ffi(
  1. Pointer<Void> sceneManager,
  2. Pointer<Char> assetPath,
  3. Pointer<Char> relativePath,
  4. Pointer<NativeFunction<Void Function(EntityId)>> callback,
)

Implementation

@ffi.Native<
        ffi.Void Function(
            ffi.Pointer<ffi.Void>,
            ffi.Pointer<ffi.Char>,
            ffi.Pointer<ffi.Char>,
            ffi.Pointer<ffi.NativeFunction<ffi.Void Function(EntityId)>>)>(
    symbol: '_load_gltf_ffi', assetId: 'thermion_dart')
external void load_gltf_ffi(
  ffi.Pointer<ffi.Void> sceneManager,
  ffi.Pointer<ffi.Char> assetPath,
  ffi.Pointer<ffi.Char> relativePath,
  ffi.Pointer<ffi.NativeFunction<ffi.Void Function(EntityId)>> callback,
);