(imageName: string)
| 67 | } |
| 68 | |
| 69 | function getCachedFrustumTexture(imageName: string): THREE.Texture | null { |
| 70 | const existing = getActiveFrustumTexture(activeTextures, imageName); |
| 71 | if (existing) return existing; |
| 72 | |
| 73 | const cachedBitmap = getCachedFrustumBitmap(bitmapCache, imageName); |
| 74 | return cachedBitmap ? createTextureFromBitmap(cachedBitmap, imageName) : null; |
| 75 | } |
| 76 | |
| 77 | async function loadFrustumBitmapFromFile( |
| 78 | imageFile: File, |
nothing calls this directly
no test coverage detected