wgpun_BufferReadSync function

  1. @Native<Uint64 Function(Uint64, Uint64, Uint64, Uint64, Pointer<Uint8>)>(ffi.Uint64, ffi.Uint64, ffi.Uint64, ffi.Uint64, ffi.Pointer<ffi.Uint8>)>()
int wgpun_BufferReadSync(
  1. int device,
  2. int buffer,
  3. int offset,
  4. int size,
  5. Pointer<Uint8> output,
)

Implementation

@ffi.Native<
  ffi.Uint64 Function(
    ffi.Uint64,
    ffi.Uint64,
    ffi.Uint64,
    ffi.Uint64,
    ffi.Pointer<ffi.Uint8>,
  )
>()
external int wgpun_BufferReadSync(
  int device,
  int buffer,
  int offset,
  int size,
  ffi.Pointer<ffi.Uint8> output,
);