gldtDeleteBuffers function

void gldtDeleteBuffers(
  1. List<int> buffers
)

Implementation

void gldtDeleteBuffers(List<int> buffers) {
  var pointer = calloc<Uint32>();
  for (var id in buffers) {
    pointer.value = id;
    glDeleteBuffers(1, pointer);
  }
  calloc.free(pointer);
}