/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import{generateStyledTexture as t}from"./generateTextures.js";import o from"./heading-rotate-svg.js";import r from"./tilt-rotate-svg.js";import{ManagedTexture as e}from"../../webgl-engine/lib/ManagedTexture.js";const a=64;function n(r,n){const{accentColor:l,contrastColor:c,preMultiplyAlpha:i}=n;return r.fromData(`heading-rotate:[accent:${l},contrast:${c},size:${a}]`,()=>new e(t(o,{accentColor:l,contrastColor:c,size:a}),{mipmap:!0,reloadable:!0,preMultiplyAlpha:i}))}function l(o,n){const{accentColor:l,contrastColor:c,preMultiplyAlpha:i}=n;return o.fromData(`tilt-rotate:[accent:${l},contrast:${c},size:${a}]`,()=>new e(t(r,{accentColor:l,contrastColor:c,size:a}),{mipmap:!0,reloadable:!0,preMultiplyAlpha:i}))}export{n as getRotateHeadingTexture,l as getTiltRotateTexture};
