deleteBuffer method

void deleteBuffer(
  1. Buffer v0
)

Implementation

void deleteBuffer(Buffer v0) {
  var _buffersList = [v0.bufferId];
  final ptr = calloc<Uint32>(_buffersList.length);
  ptr.asTypedList(1).setAll(0, _buffersList);
  gl.glDeleteBuffers(1, ptr);
  calloc.free(ptr);
}