* Return a cached resized bitmap for image-plane texture creation.
(_cacheKey: string, imageName: string)
| 114 | * Return a cached resized bitmap for image-plane texture creation. |
| 115 | */ |
| 116 | async function getOrLoadBitmap(_cacheKey: string, imageName: string): Promise<ImageBitmap | null> { |
| 117 | return getCachedFrustumBitmap(bitmapCache, imageName); |
| 118 | } |
| 119 | |
| 120 | /** |
| 121 | * Create texture from ImageBitmap (synchronous, no async load delay). |
no test coverage detected