| 29 | 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAA1JREFUGFdj+P///38ACfsD/QVDRcoAAAAASUVORK5CYII='; |
| 30 | |
| 31 | export interface ImageProvider { |
| 32 | readonly nullTexture: Texture; |
| 33 | readonly loadingTexture: Texture; |
| 34 | initTexture(textureDef: TextureDef): Promise<void>; |
| 35 | getTexture(textureDef: TextureDef): Promise<Texture | CompressedTexture>; |
| 36 | setKTX2Loader(loader: KTX2Loader): this; |
| 37 | clear(): void; |
| 38 | } |
| 39 | |
| 40 | export class NullImageProvider implements ImageProvider { |
| 41 | readonly nullTexture: Texture = createTexture('__NULL_TEXTURE', NULL_IMAGE_URI); |
no outgoing calls
no test coverage detected