13 lines
713 B
JavaScript
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
|