deleteBuffer method
Implementation
void deleteBuffer(Buffer buffer){
startCheck('deleteBuffer');
final List<int> _texturesList = [buffer.id];
final ptr = calloc<Uint32>(_texturesList.length);
ptr.asTypedList(1).setAll(0, _texturesList);
gl.glDeleteBuffers(1, ptr);
calloc.free(ptr);
checkError('deleteBuffer');
}