add ability to render textures to Screen quad for dbg

This commit is contained in:
Joakim Kilby
2023-10-12 07:58:01 +02:00
parent 8e0a79bc56
commit 43d8ec2298
4 changed files with 81 additions and 0 deletions

View File

@@ -151,6 +151,8 @@ public:
*/
static scripting::LuaLibrary luaLibrary();
void setDebugTextureRendering(GLuint texture);
glm::ivec2 renderingResolution() const;
glm::ivec2 fontResolution() const;
@@ -176,6 +178,8 @@ private:
ghoul::Dictionary _resolveData;
ScreenLog* _log = nullptr;
GLuint _debugTextureRender = 0;
ghoul::opengl::OpenGLStateCache* _openglStateCache = nullptr;
properties::BoolProperty _showOverlayOnClients;