/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["exports","../../../support/buffer/glUtil","../../../support/buffer/InterleavedLayout","../VertexAttribute"],(function(t,e,r,u){"use strict";const A=r.newLayout().vec3f(u.VertexAttribute.POSITION).u16(u.VertexAttribute.COMPONENTINDEX).u16(u.VertexAttribute.U16PADDING),i=r.newLayout().vec2u8(u.VertexAttribute.SIDENESS),N=e.glLayout(i),V=r.newLayout().vec3f(u.VertexAttribute.POSITION0).vec3f(u.VertexAttribute.POSITION1).u16(u.VertexAttribute.COMPONENTINDEX).u8(u.VertexAttribute.VARIANTOFFSET,{glNormalized:!0}).u8(u.VertexAttribute.VARIANTSTROKE).u8(u.VertexAttribute.VARIANTEXTENSION,{glNormalized:!0}).u8(u.VertexAttribute.U8PADDING,{glPadding:!0}).u16(u.VertexAttribute.U16PADDING,{glPadding:!0}),b=V.clone().vec3f(u.VertexAttribute.NORMAL),I=V.clone().vec3f(u.VertexAttribute.NORMALA).vec3f(u.VertexAttribute.NORMALB),o=new Map([[u.VertexAttribute.POSITION0,0],[u.VertexAttribute.POSITION1,1],[u.VertexAttribute.COMPONENTINDEX,2],[u.VertexAttribute.VARIANTOFFSET,3],[u.VertexAttribute.VARIANTSTROKE,4],[u.VertexAttribute.VARIANTEXTENSION,5],[u.VertexAttribute.NORMAL,6],[u.VertexAttribute.NORMALA,6],[u.VertexAttribute.NORMALB,7],[u.VertexAttribute.SIDENESS,8]]);t.CommonInstancesLayout=V,t.EdgeInputBufferLayout=A,t.EdgeShaderAttributeLocations=o,t.RegularEdgeInstancesLayout=b,t.SilhouetteEdgeInstancesLayout=I,t.VertexLayout=i,t.glVertexLayout=N,Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
