summaryrefslogtreecommitdiff
path: root/ui/sceneRenderer.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/sceneRenderer.h')
-rw-r--r--ui/sceneRenderer.h3
1 files changed, 2 insertions, 1 deletions
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<void()> content) const;
private:
+ GLuint output;
glFrameBuffer gBuffer;
glTexture gPosition, gNormal, gAlbedoSpec;
glRenderBuffer depth;