load_glb_ffi function

  1. @Native<Void Function(Pointer<Void>, Pointer<Char>, Int, Pointer<NativeFunction<Void Function(EntityId)>>)>(ffi.Pointer<ffi.Void>, ffi.Pointer<ffi.Char>, ffi.Int, ffi.Pointer<ffi.NativeFunction<ffi.Void Function(EntityId)>>)>()
void load_glb_ffi(
  1. Pointer<Void> sceneManager,
  2. Pointer<Char> assetPath,
  3. int numInstances,
  4. Pointer<NativeFunction<Void Function(EntityId)>> callback,
)

Implementation

@ffi.Native<
    ffi.Void Function(ffi.Pointer<ffi.Void>, ffi.Pointer<ffi.Char>, ffi.Int,
        ffi.Pointer<ffi.NativeFunction<ffi.Void Function(EntityId)>>)>()
external void load_glb_ffi(
  ffi.Pointer<ffi.Void> sceneManager,
  ffi.Pointer<ffi.Char> assetPath,
  int numInstances,
  ffi.Pointer<ffi.NativeFunction<ffi.Void Function(EntityId)>> callback,
);