clearBuffer method

void clearBuffer(
  1. GPUBuffer buffer, [
  2. int? offset = 0,
  3. int? size
])

Implementation

void clearBuffer(GPUBuffer buffer, [int? offset = 0, int? size]) =>
    js_util.callMethod(this, 'clearBuffer', [buffer, offset, size]);