export default function canUploadSameBuffer() { // Uploading the same buffer multiple times in a single frame can cause perf issues. // Apparent on IOS so only check for that at the moment // this check may become more complex if this issue pops up elsewhere. const ios = !!navigator.platform && (/iPad|iPhone|iPod/).test(navigator.platform); return !ios; }