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

This commit is contained in:
doodlewind
2025-04-14 17:01:27 +08:00
committed by Yifeng Wang
parent 7aa87de5f7
commit 6457c979f5
4 changed files with 101 additions and 10 deletions
@@ -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);