wgpu_get_pixel_buffer_ptr function

  1. @Native<Pointer<Uint8> Function(Uint64)>(ffi.Uint64)>()
Pointer<Uint8> wgpu_get_pixel_buffer_ptr(
  1. int surface_id
)

Get the pixel buffer pointer for a surface (Windows only).

Implementation

@ffi.Native<ffi.Pointer<ffi.Uint8> Function(ffi.Uint64)>()
external ffi.Pointer<ffi.Uint8> wgpu_get_pixel_buffer_ptr(
  int surface_id,
);