wgpu_swapchain_resize function

  1. @Native<Uint32 Function(Uint64, Uint32, Uint32)>(ffi.Uint64, ffi.Uint32, ffi.Uint32)>()
int wgpu_swapchain_resize(
  1. int surface_id,
  2. int width,
  3. int height
)

Resize a swapchain surface. Returns 1 on success, 0 on failure.

Implementation

@ffi.Native<ffi.Uint32 Function(ffi.Uint64, ffi.Uint32, ffi.Uint32)>()
external int wgpu_swapchain_resize(
  int surface_id,
  int width,
  int height,
);