| 199 | #if USE_EDITOR |
| 200 | |
| 201 | bool TextureTool::HasAlpha(const StringView& path) |
| 202 | { |
| 203 | // Try to hit the cache (eg. if texture was already imported before) |
| 204 | if (!TexturesHasAlphaCache.ContainsKey(path)) |
| 205 | { |
| 206 | TextureData textureData; |
| 207 | if (ImportTexture(path, textureData)) |
| 208 | return false; |
| 209 | } |
| 210 | return TexturesHasAlphaCache[path]; |
| 211 | } |
| 212 | |
| 213 | #endif |
| 214 |
nothing calls this directly
no test coverage detected