From 5b854f135a4bf38ce993cc567461bf204894fb44 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 13 Nov 2022 14:43:20 +0000 Subject: Pass the output framebuffer id to scene renderer --- ui/sceneRenderer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ui/sceneRenderer.h') diff --git a/ui/sceneRenderer.h b/ui/sceneRenderer.h index 6c96418..9352fc9 100644 --- a/ui/sceneRenderer.h +++ b/ui/sceneRenderer.h @@ -7,11 +7,12 @@ class SceneRenderer { public: - explicit SceneRenderer(glm::ivec2 size); + explicit SceneRenderer(glm::ivec2 size, GLuint output); void render(std::function content) const; private: + GLuint output; glFrameBuffer gBuffer; glTexture gPosition, gNormal, gAlbedoSpec; glRenderBuffer depth; -- cgit v1.2.3