test(editor): add tests for turbo renderer state machine (#11659)
This commit is contained in:
1 parent
1a2d6f25be
commit
b8967a8a7b
5 files changed
+86
-12
No files matched your search
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user