/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import{ZEROS as s}from"../../../../../../core/libs/gl-matrix-2/factories/vec2f64.js";import{Float2PassUniform as e}from"../../shaderModules/Float2PassUniform.js";import{FloatPassUniform as o}from"../../shaderModules/FloatPassUniform.js";import{glsl as t}from"../../shaderModules/glsl.js";import{NoParameters as r}from"../../../../../webgl/NoParameters.js";class a extends r{constructor(){super(...arguments),this.scale=1,this.offset=s}}function i(s){s.attributes.add("position","vec2"),s.attributes.add("uv0","vec2"),s.varyings.add("uv","vec2"),s.varyings.add("vuv","vec2"),s.vertex.uniforms.add(new o("scale",s=>s.scale),new e("offset",s=>s.offset)).main.add(t`gl_Position = vec4(position, 0.0, 1.0);
uv = uv0 * scale + offset;
vuv = uv0;`)}export{i as TileComposite,a as TileCompositePassParameters};
