You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/renderers/common/Renderer.js
+31Lines changed: 31 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2689,6 +2689,37 @@ class Renderer {
2689
2689
2690
2690
}
2691
2691
2692
+
/**
2693
+
* Initializes the given render target.
2694
+
*
2695
+
* @param {RenderTarget} renderTarget - The render target to intialize.
2696
+
*/
2697
+
initRenderTarget(renderTarget){
2698
+
2699
+
if(this._initialized===false){
2700
+
2701
+
thrownewError('Renderer: .initRenderTarget() called before the backend is initialized. Use "await renderer.init();" before before using this method.');
0 commit comments