/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import{glLayout as e}from"../../support/buffer/glUtil.js";import{newLayout as o}from"../../support/buffer/InterleavedLayout.js";import{olidEnabled as t}from"../effects/geometry/olidUtils.js";import{TextureBackedBufferLayout as r}from"../lib/TextureBackedBuffer/TextureBackedBufferLayout.js";const f=o().vec3f("position").freeze(),i=o().vec3f("position").vec2f16("uv0").freeze(),n=o().vec3f("position").vec4u8("color",{glNormalized:!0}).freeze(),u=o().vec3f("position").vec2f("uv0").freeze(),c=o().vec3f("position").vec2f("uv0").vec4u8("olidColor").freeze(),s=e(f),p=e(i),v=e(n),m=e(u),l=e(c),a=e(o().u16("componentIndex",{integer:!0})),d=[{name:"colorAndCastShadows",type:"vec4u8"},{name:"elevationOffset",type:"f32"},{name:"emissiveStrength",type:"f16"},{name:"emissiveSourceMode",type:"u8"}],y={name:"olidColor",type:"vec4u8"},z=new r(d),g=new r([...d,y]);function j(){return t()?g:z}export{a as IndexGlLayout,v as PositionColorGLLayout,n as PositionColorLayout,s as PositionGLLayout,f as PositionLayout,p as PositionUvGLLayout,i as PositionUvLayout,m as PositionUvf32GLLayout,u as PositionUvf32Layout,l as PositionUvf32OlidGLLayout,c as PositionUvf32OlidLayout,z as componentDataLayout,g as componentDataOlidLayout,j as getComponentDataLayout};
