mgpuSetBufferData function

  1. @Native<Void Function(Pointer<MGPUBuffer>, Pointer<Float>, Size)>(ffi.Pointer<MGPUBuffer>, ffi.Pointer<ffi.Float>, ffi.Size)>()
void mgpuSetBufferData(
  1. Pointer<MGPUBuffer> buffer,
  2. Pointer<Float> inputData,
  3. int byteSize
)

Implementation

@ffi.Native<
    ffi.Void Function(
        ffi.Pointer<MGPUBuffer>, ffi.Pointer<ffi.Float>, ffi.Size)>()
external void mgpuSetBufferData(
  ffi.Pointer<MGPUBuffer> buffer,
  ffi.Pointer<ffi.Float> inputData,
  int byteSize,
);