@arcgis/core 4.34.0-next.3 → 4.34.0-next.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/assets/esri/core/workers/RemoteClient.js +1 -1
  2. package/assets/esri/core/workers/chunks/{b70f65ccee01d48a610e.js → 1bc4cb6366e733a7c7ef.js} +1 -1
  3. package/config.js +1 -1
  4. package/kernel.js +1 -1
  5. package/package.json +1 -1
  6. package/support/revision.js +1 -1
  7. package/views/2d/engine/Bitmap.js +1 -1
  8. package/views/2d/engine/flow/styles/Imagery.js +1 -1
  9. package/views/2d/engine/vectorTiles/GlyphMosaic.js +1 -1
  10. package/views/2d/engine/vectorTiles/SpriteMosaic.js +1 -1
  11. package/views/2d/engine/vectorTiles/TileHandler3D.js +1 -1
  12. package/views/2d/engine/vectorTiles/VectorTile.js +1 -1
  13. package/views/2d/engine/webgl/AttributeStoreView.js +1 -1
  14. package/views/2d/engine/webgl/GlyphMosaic.js +1 -1
  15. package/views/2d/engine/webgl/Overlay.js +1 -1
  16. package/views/2d/engine/webgl/OverlayMultipoint.js +1 -1
  17. package/views/2d/engine/webgl/SpriteMosaic.js +1 -1
  18. package/views/2d/engine/webgl/brushes/WGLBrushTileDebugInfo.js +1 -1
  19. package/views/2d/engine/webgl/effects/highlight/HighlightGradient.js +1 -1
  20. package/views/2d/engine/webgl/effects/post-processing/Colorize.js +1 -1
  21. package/views/2d/engine/webgl/effects/post-processing/DropShadow.js +1 -1
  22. package/views/2d/engine/webgl/effects/post-processing/Opacity.js +1 -1
  23. package/views/2d/engine/webgl/shaderGraph/techniques/blend/BlendTechnique.js +1 -1
  24. package/views/2d/engine/webgl/shaderGraph/techniques/dotDensity/DotDensityResources.js +1 -1
  25. package/views/2d/engine/webgl/shaderGraph/techniques/magnifier/MagnifierTechnique.js +1 -1
  26. package/views/2d/engine/webgl/shaderGraph/techniques/raster/processor/textureUtils.js +1 -1
  27. package/views/3d/environment/LocalAtmosphere.js +1 -1
  28. package/views/3d/environment/MarsAtmosphere.js +1 -1
  29. package/views/3d/support/engineContent/marker.js +1 -1
  30. package/views/3d/webgl-engine/effects/magnifier/Magnifier.js +1 -1
  31. package/views/3d/webgl-engine/effects/smaa/SMAA.js +1 -1
  32. package/views/3d/webgl-engine/effects/ssao/SSAO.js +1 -1
  33. package/views/3d/webgl-engine/materials/stippleTextureRepository.js +1 -1
  34. package/views/support/imageReprojection.js +1 -1
  35. package/views/webgl/rasterUtils.js +1 -1
@@ -2,4 +2,4 @@
2
2
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  See https://js.arcgis.com/4.34/esri/copyright.txt for details.
4
4
  */
5
- import{ZEROS as t}from"../../core/libs/gl-matrix-2/factories/vec2f64.js";import{SizedPixelFormat as e,PixelType as n,TextureSamplingMode as a,TextureWrapMode as i,PixelFormat as r}from"./enums.js";import{Texture as u}from"./Texture.js";import{TextureDescriptor as o}from"./TextureDescriptor.js";function s(t,s,m="nearest",l=!1){const c=!(l&&"u8"===s.pixelType),f=c?n.FLOAT:n.UNSIGNED_BYTE,p=null==s.pixels||0===s.pixels.length?null:c?s.getAsRGBAFloat():s.getAsRGBA(),_=t.capabilities.textureFloatLinear,g=new o;return g.width=s.width,g.height=s.height,g.internalFormat=c?e.RGBA32F:r.RGBA,g.samplingMode=!_||"bilinear"!==m&&"cubic"!==m?a.NEAREST:a.LINEAR,g.dataType=f,g.wrapMode=i.CLAMP_TO_EDGE,new u(t,g,p)}function m(t,r){const{spacing:s,offsets:m,coefficients:l,size:[c,f]}=r,p=s[0]>1,_=new o;_.width=p?4*c:c,_.height=f,_.internalFormat=e.RGBA32F,_.dataType=n.FLOAT,_.samplingMode=a.NEAREST,_.wrapMode=i.CLAMP_TO_EDGE;const g=new Float32Array(p?c*f*16:2*m.length);if(p&&null!=l)for(let e=0,n=0;e<l.length;e++)g[n++]=l[e],e%3==2&&(g[n++]=1);else for(let e=0;e<f;e++)for(let t=0;t<c;t++){const n=4*(e*c+t),a=2*(t*f+e);g[n]=m[a],g[n+1]=m[a+1],g[n+3]=-1===m[a]?0:1}return new u(t,_,g)}function l(t,e){const n=new o;return n.internalFormat=r.RGBA,n.width=e.length/4,n.height=1,n.samplingMode=a.NEAREST,n.wrapMode=i.CLAMP_TO_EDGE,new u(t,n,e)}function c(t,e,s){const m=new o;return m.internalFormat=r.ALPHA,m.pixelFormat=r.ALPHA,m.dataType=n.UNSIGNED_BYTE,m.width=s[0],m.height=s[1],m.samplingMode=a.NEAREST,m.wrapMode=i.CLAMP_TO_EDGE,new u(t,m,e)}function f(e,n,a,i=1,r=!0){return{u_flipY:r,u_applyTransform:!!e,u_opacity:i,u_transformSpacing:e?e.spacing:t,u_transformGridSize:e?e.size:t,u_targetImageSize:n,u_srcImageSize:a}}function p(t,e){return{u_colormapOffset:e||0,u_colormapMaxIndex:t?t.length/4-1:0}}function _(t){return{u_bandCount:t.bandCount,u_minOutput:t.minOutput,u_maxOutput:t.maxOutput,u_minCutOff:t.minCutOff,u_maxCutOff:t.maxCutOff,u_factor:t.factor,u_useGamma:t.useGamma,u_gamma:t.gamma,u_gammaCorrection:t.gammaCorrection}}function g(t){return{u_hillshadeType:t.hillshadeType,u_sinZcosAs:t.sinZcosAs,u_sinZsinAs:t.sinZsinAs,u_cosZs:t.cosZs,u_weights:t.weights,u_factor:t.factor,u_minValue:t.minValue,u_maxValue:t.maxValue}}export{l as createColormapTexture,c as createPixelMaskTexture,s as createRasterTexture,m as createTransformTexture,p as getColormapUniforms,f as getCommonUniforms,g as getShadedReliefUniforms,_ as getStretchUniforms};
5
+ import{ZEROS as e}from"../../core/libs/gl-matrix-2/factories/vec2f64.js";import{SizedPixelFormat as t,PixelType as n,TextureSamplingMode as a,TextureWrapMode as r,PixelFormat as u}from"./enums.js";import{Texture as i}from"./Texture.js";import{TextureDescriptor as o}from"./TextureDescriptor.js";function s(e,s,m="nearest",l=!1){const c=!(l&&"u8"===s.pixelType),f=c?n.FLOAT:n.UNSIGNED_BYTE,p=null==s.pixels||0===s.pixels.length?null:c?s.getAsRGBAFloat():s.getAsRGBA(),_=e.capabilities.textureFloatLinear,A=new o(s.width,s.height);return A.internalFormat=c?t.RGBA32F:u.RGBA,A.samplingMode=!_||"bilinear"!==m&&"cubic"!==m?a.NEAREST:a.LINEAR,A.dataType=f,A.wrapMode=r.CLAMP_TO_EDGE,new i(e,A,p)}function m(e,u){const{spacing:s,offsets:m,coefficients:l,size:[c,f]}=u,p=s[0]>1,_=new o(p?4*c:c,f);_.internalFormat=t.RGBA32F,_.dataType=n.FLOAT,_.samplingMode=a.NEAREST,_.wrapMode=r.CLAMP_TO_EDGE;const A=new Float32Array(p?c*f*16:2*m.length);if(p&&null!=l)for(let t=0,n=0;t<l.length;t++)A[n++]=l[t],t%3==2&&(A[n++]=1);else for(let t=0;t<f;t++)for(let e=0;e<c;e++){const n=4*(t*c+e),a=2*(e*f+t);A[n]=m[a],A[n+1]=m[a+1],A[n+3]=-1===m[a]?0:1}return new i(e,_,A)}function l(e,t){const n=new o(t.length/4,1);return n.internalFormat=u.RGBA,n.samplingMode=a.NEAREST,n.wrapMode=r.CLAMP_TO_EDGE,new i(e,n,t)}function c(e,t,s){const m=new o(s[0],s[1]);return m.internalFormat=u.ALPHA,m.pixelFormat=u.ALPHA,m.dataType=n.UNSIGNED_BYTE,m.samplingMode=a.NEAREST,m.wrapMode=r.CLAMP_TO_EDGE,new i(e,m,t)}function f(t,n,a,r=1,u=!0){return{u_flipY:u,u_applyTransform:!!t,u_opacity:r,u_transformSpacing:t?t.spacing:e,u_transformGridSize:t?t.size:e,u_targetImageSize:n,u_srcImageSize:a}}function p(e,t){return{u_colormapOffset:t||0,u_colormapMaxIndex:e?e.length/4-1:0}}function _(e){return{u_bandCount:e.bandCount,u_minOutput:e.minOutput,u_maxOutput:e.maxOutput,u_minCutOff:e.minCutOff,u_maxCutOff:e.maxCutOff,u_factor:e.factor,u_useGamma:e.useGamma,u_gamma:e.gamma,u_gammaCorrection:e.gammaCorrection}}function A(e){return{u_hillshadeType:e.hillshadeType,u_sinZcosAs:e.sinZcosAs,u_sinZsinAs:e.sinZsinAs,u_cosZs:e.cosZs,u_weights:e.weights,u_factor:e.factor,u_minValue:e.minValue,u_maxValue:e.maxValue}}export{l as createColormapTexture,c as createPixelMaskTexture,s as createRasterTexture,m as createTransformTexture,p as getColormapUniforms,f as getCommonUniforms,A as getShadedReliefUniforms,_ as getStretchUniforms};