mgpuCreateBuffer function

  1. @Native<Pointer<MGPUBuffer> Function(Int, Int)>(ffi.Int, ffi.Int)>()
Pointer<MGPUBuffer> mgpuCreateBuffer(
  1. int bufferSize,
  2. int dataType
)

Implementation

@ffi.Native<ffi.Pointer<MGPUBuffer> Function(ffi.Int, ffi.Int)>()
external ffi.Pointer<MGPUBuffer> mgpuCreateBuffer(
  int bufferSize,
  int dataType,
);