-
Couldn't load subscription status.
- Fork 1
Gfx2TextureManager
jay19240 edited this page Dec 11, 2024
·
2 revisions
Singleton textures manager.
- new Gfx2TextureManager(): Gfx2TextureManager
-
deleteTexture(path: string): void
- path: The file path.
-
getTexture(path: string): ImageBitmap
- path: The file path.
-
hasTexture(path: string): boolean
- path: The file path.
-
loadTexture(path: string, storePath: string): Promise
- path: The file path.
- storePath: The optionnal store file path.
- releaseTextures(): void