wgpu_resize_surface function

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

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

Implementation

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