UNPKG

657 BSource Map (JSON)View Raw
1{"version":3,"file":"canUploadSameBuffer.mjs","sources":["../../src/batch/canUploadSameBuffer.ts"],"sourcesContent":["import { isMobile } from '@pixi/settings';\n\n/**\n * Uploading the same buffer multiple times in a single frame can cause performance issues.\n * Apparent on iOS so only check for that at the moment\n * This check may become more complex if this issue pops up elsewhere.\n * @private\n * @returns {boolean} `true` if the same buffer may be uploaded more than once.\n */\nexport function canUploadSameBuffer(): boolean\n{\n return !isMobile.apple.device;\n}\n"],"names":[],"mappings":";AASO,SAAS,sBAChB;AACW,SAAA,CAAC,SAAS,MAAM;AAC3B;"}
\No newline at end of file