From 4bfa25304737412d80f3832b8d31185fea306d4a Mon Sep 17 00:00:00 2001 From: Mugen87 Date: Wed, 20 Nov 2024 17:46:41 +0100 Subject: [PATCH] Renderer: Add `hasInitialized()`. --- src/renderers/common/Renderer.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/renderers/common/Renderer.js b/src/renderers/common/Renderer.js index d7036316ba7e84..99f06f8fff12d6 100644 --- a/src/renderers/common/Renderer.js +++ b/src/renderers/common/Renderer.js @@ -1309,6 +1309,12 @@ class Renderer { } + hasInitialized() { + + return this._initialized; + + } + copyFramebufferToTexture( framebufferTexture, rectangle = null ) { if ( rectangle !== null ) {