Add API to clear canvas renderer texture atlas

Fixes #3455
This commit is contained in:
Daniel Imms
2021-09-22 06:38:47 -07:00
parent be7fcbe485
commit 189ff56224
12 changed files with 56 additions and 0 deletions
+5
View File
@@ -168,6 +168,11 @@ export class RenderService extends Disposable implements IRenderService {
}
}
public clearTextureAtlas(): void {
this._renderer?.clearTextureAtlas?.();
this._fullRefresh();
}
public setColors(colors: IColorSet): void {
this._renderer.setColors(colors);
this._fullRefresh();