{"version":3,"file":"setKTXTranscoderPath.mjs","sources":["../../../../src/compressed-textures/ktx2/utils/setKTXTranscoderPath.ts"],"sourcesContent":["/**\n * The urls for the KTX transcoder library.\n * These can be set to custom paths if needed.\n * @category assets\n * @advanced\n */\nexport const ktxTranscoderUrls = {\n    jsUrl: 'https://cdn.jsdelivr.net/npm/pixi.js/transcoders/ktx/libktx.js',\n    wasmUrl: 'https://cdn.jsdelivr.net/npm/pixi.js/transcoders/ktx/libktx.wasm'\n};\n\n/**\n * Sets the paths for the KTX transcoder library.\n * @param config - Partial configuration object to set custom paths for the KTX transcoder.\n * This allows you to override the default URLs for the KTX transcoder library.\n * @category assets\n * @advanced\n */\nexport function setKTXTranscoderPath(config: Partial<typeof ktxTranscoderUrls>)\n{\n    Object.assign(ktxTranscoderUrls, config);\n}\n"],"names":[],"mappings":";AAMO,MAAM,iBAAA,GAAoB;AAAA,EAC7B,KAAA,EAAO,gEAAA;AAAA,EACP,OAAA,EAAS;AACb;AASO,SAAS,qBAAqB,MAAA,EACrC;AACI,EAAA,MAAA,CAAO,MAAA,CAAO,mBAAmB,MAAM,CAAA;AAC3C;;;;"}