wgpu_create_swapchain_surface function

  1. @Native<Uint64 Function(Uint64, IntPtr, Uint32, Uint32)>(ffi.Uint64, ffi.IntPtr, ffi.Uint32, ffi.Uint32)>()
int wgpu_create_swapchain_surface(
  1. int _device_handle,
  2. int _native_handle,
  3. int _width,
  4. int _height,
)

Stub for unsupported platforms.

Implementation

@ffi.Native<
  ffi.Uint64 Function(ffi.Uint64, ffi.IntPtr, ffi.Uint32, ffi.Uint32)
>()
external int wgpu_create_swapchain_surface(
  int _device_handle,
  int _native_handle,
  int _width,
  int _height,
);