GltfAssetLoader_loadRenderThread function

  1. @Native<Void Function(Pointer<TEngine>, Pointer<TGltfAssetLoader>, Pointer<Uint8>, Size, Uint8, Pointer<NativeFunction<Void Function(Pointer<TFilamentAsset>)>>)>(ffi.Pointer<TEngine>, ffi.Pointer<TGltfAssetLoader>, ffi.Pointer<ffi.Uint8>, ffi.Size, ffi.Uint8, ffi.Pointer<ffi.NativeFunction<ffi.Void Function(ffi.Pointer<TFilamentAsset>)>>)>(isLeaf: true)
void GltfAssetLoader_loadRenderThread(
  1. Pointer<TEngine> tEngine,
  2. Pointer<TGltfAssetLoader> tAssetLoader,
  3. Pointer<Uint8> data,
  4. int length,
  5. int numInstances,
  6. Pointer<NativeFunction<Void Function(Pointer<TFilamentAsset>)>> callback,
)

Implementation

@ffi.Native<
    ffi.Void Function(
        ffi.Pointer<TEngine>,
        ffi.Pointer<TGltfAssetLoader>,
        ffi.Pointer<ffi.Uint8>,
        ffi.Size,
        ffi.Uint8,
        ffi.Pointer<
            ffi.NativeFunction<
                ffi.Void Function(ffi.Pointer<TFilamentAsset>)>>)>(isLeaf: true)
external void GltfAssetLoader_loadRenderThread(
  ffi.Pointer<TEngine> tEngine,
  ffi.Pointer<TGltfAssetLoader> tAssetLoader,
  ffi.Pointer<ffi.Uint8> data,
  int length,
  int numInstances,
  ffi.Pointer<
          ffi.NativeFunction<ffi.Void Function(ffi.Pointer<TFilamentAsset>)>>
      callback,
);