test(editor): add tests for turbo renderer state machine (#11659)

This commit is contained in:
doodlewind
2025-04-14 15:54:02 +00:00
parent 1a2d6f25be
commit b8967a8a7b
5 changed files with 86 additions and 12 deletions

View File

@@ -83,6 +83,10 @@ export class ViewportTurboRendererExtension extends GfxExtension {
private viewportElement: GfxViewportElement | null = null;
private readonly refresh$ = new Subject<void>();
public get currentState(): RenderingState {
return this.state$.value;
}
constructor(gfx: GfxController) {
super(gfx);