mgpuCreateBuffer function

MGPUBuffer mgpuCreateBuffer(
  1. int elements,
  2. int dataType
)

Implementation

MGPUBuffer mgpuCreateBuffer(int elements, int dataType) {
  return _mgpuCreateBuffer(elements.toJS, dataType.toJS);
}