Files
il/resources/public/js/cljs-runtime/module$node_modules$pixi_DOT_js$lib$rendering$batcher$gpu$generateGPULayout.js
2026-07-01 22:38:29 -06:00

13 lines
713 B
JavaScript

shadow$provide.module$node_modules$pixi_DOT_js$lib$rendering$batcher$gpu$generateGPULayout = function(global, require, module, exports) {
exports.generateGPULayout = function(maxTextures) {
const gpuLayout = [];
let bindIndex = 0;
for (let i = 0; i < maxTextures; i++) {
gpuLayout[bindIndex] = {texture:{sampleType:"float", viewDimension:"2d", multisampled:!1}, binding:bindIndex, visibility:GPUShaderStage.FRAGMENT}, bindIndex++, gpuLayout[bindIndex] = {sampler:{type:"filtering"}, binding:bindIndex, visibility:GPUShaderStage.FRAGMENT}, bindIndex++;
}
return gpuLayout;
};
};
//# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$rendering$batcher$gpu$generateGPULayout.js.map