Engine_createHeadlessSwapChainRenderThread function

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

Implementation

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