From aafc423a7298b0fc595c0209480474dc50c277f0 Mon Sep 17 00:00:00 2001 From: LaG1924 Date: Sun, 21 Nov 2021 13:56:28 +0500 Subject: Added Gbuffer --- src/Render.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/Render.hpp') diff --git a/src/Render.hpp b/src/Render.hpp index 87494fa..379ca66 100644 --- a/src/Render.hpp +++ b/src/Render.hpp @@ -11,6 +11,7 @@ #include "Event.hpp" #include "Gal.hpp" +class Gbuffer; class RendererWorld; class RmlRenderInterface; class RmlSystemInterface; @@ -35,12 +36,10 @@ class Render { bool HasFocus=true; float sensetivity = 0.1f; bool isWireframe = false; - std::shared_ptr framebuffer; - std::shared_ptr fbDepthStencil; - std::shared_ptr fbColor; std::shared_ptr fbPipeline; std::shared_ptr fbPipelineInstance; std::shared_ptr fbBuffer; + std::unique_ptr gbuffer; EventListener listener; std::string stateString; std::unique_ptr rmlRender; -- cgit v1.2.3