Engine_buildMaterialRenderThread function

  1. @Native<Void Function(Pointer<TEngine>, Pointer<Uint8>, Size, Pointer<NativeFunction<Void Function(Pointer<TMaterial>)>>)>(ffi.Pointer<TEngine>, ffi.Pointer<ffi.Uint8>, ffi.Size, ffi.Pointer<ffi.NativeFunction<ffi.Void Function(ffi.Pointer<TMaterial>)>>)>(isLeaf: true)
void Engine_buildMaterialRenderThread(
  1. Pointer<TEngine> tEngine,
  2. Pointer<Uint8> materialData,
  3. int length,
  4. Pointer<NativeFunction<Void Function(Pointer<TMaterial>)>> onComplete,
)

Implementation

@ffi.Native<
        ffi.Void Function(
            ffi.Pointer<TEngine>,
            ffi.Pointer<ffi.Uint8>,
            ffi.Size,
            ffi.Pointer<
                ffi
                .NativeFunction<ffi.Void Function(ffi.Pointer<TMaterial>)>>)>(
    isLeaf: true)
external void Engine_buildMaterialRenderThread(
  ffi.Pointer<TEngine> tEngine,
  ffi.Pointer<ffi.Uint8> materialData,
  int length,
  ffi.Pointer<ffi.NativeFunction<ffi.Void Function(ffi.Pointer<TMaterial>)>>
      onComplete,
);