Engine_createSwapChainRenderThread function

  1. @Native<Void Function(Pointer<TEngine>, Pointer<Void>, Uint64, Pointer<NativeFunction<Void Function(Pointer<TSwapChain>)>>)>(ffi.Pointer<TEngine>, ffi.Pointer<ffi.Void>, ffi.Uint64, ffi.Pointer<ffi.NativeFunction<ffi.Void Function(ffi.Pointer<TSwapChain>)>>)>(isLeaf: true)
void Engine_createSwapChainRenderThread(
  1. Pointer<TEngine> tEngine,
  2. Pointer<Void> window,
  3. int flags,
  4. Pointer<NativeFunction<Void Function(Pointer<TSwapChain>)>> onComplete,
)

Implementation

@ffi.Native<
        ffi.Void Function(
            ffi.Pointer<TEngine>,
            ffi.Pointer<ffi.Void>,
            ffi.Uint64,
            ffi.Pointer<
                ffi
                .NativeFunction<ffi.Void Function(ffi.Pointer<TSwapChain>)>>)>(
    isLeaf: true)
external void Engine_createSwapChainRenderThread(
  ffi.Pointer<TEngine> tEngine,
  ffi.Pointer<ffi.Void> window,
  int flags,
  ffi.Pointer<ffi.NativeFunction<ffi.Void Function(ffi.Pointer<TSwapChain>)>>
      onComplete,
);