wgpu_create_surface_from_window function

  1. @Native<Uint64 Function(Uint64, Pointer<Void>, Uint32, Uint32)>(ffi.Uint64, ffi.Pointer<ffi.Void>, ffi.Uint32, ffi.Uint32)>()
int wgpu_create_surface_from_window(
  1. int _device_handle,
  2. Pointer<Void> _window_ptr,
  3. int _width,
  4. int _height,
)

Stub for non-Android - use wgpu_create_surface instead

Implementation

@ffi.Native<
  ffi.Uint64 Function(ffi.Uint64, ffi.Pointer<ffi.Void>, ffi.Uint32, ffi.Uint32)
>()
external int wgpu_create_surface_from_window(
  int _device_handle,
  ffi.Pointer<ffi.Void> _window_ptr,
  int _width,
  int _height,
);