summaryrefslogtreecommitdiffstats
path: root/src/Render.hpp
diff options
context:
space:
mode:
authorLaG1924 <lag1924@gmail.com>2021-12-08 16:33:09 +0100
committerLaG1924 <lag1924@gmail.com>2021-12-08 16:33:09 +0100
commita12779bc153425407b131bce541c0bb97cccca39 (patch)
tree91ed3bb9b00c274f5be91cf920317e760fe99e7a /src/Render.hpp
parentAdded more SSAO settings (diff)
downloadAltCraft-a12779bc153425407b131bce541c0bb97cccca39.tar
AltCraft-a12779bc153425407b131bce541c0bb97cccca39.tar.gz
AltCraft-a12779bc153425407b131bce541c0bb97cccca39.tar.bz2
AltCraft-a12779bc153425407b131bce541c0bb97cccca39.tar.lz
AltCraft-a12779bc153425407b131bce541c0bb97cccca39.tar.xz
AltCraft-a12779bc153425407b131bce541c0bb97cccca39.tar.zst
AltCraft-a12779bc153425407b131bce541c0bb97cccca39.zip
Diffstat (limited to '')
-rw-r--r--src/Render.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Render.hpp b/src/Render.hpp
index 944a4cb..3ac76e3 100644
--- a/src/Render.hpp
+++ b/src/Render.hpp
@@ -12,6 +12,7 @@
#include "Gal.hpp"
class Gbuffer;
+class TextureFbCopy;
class RendererWorld;
class RmlRenderInterface;
class RmlSystemInterface;
@@ -36,12 +37,11 @@ class Render {
bool HasFocus=true;
float sensetivity = 0.1f;
bool isWireframe = false;
- std::shared_ptr<Gal::Pipeline> fbPipeline;
- std::shared_ptr<Gal::PipelineInstance> fbPipelineInstance;
- std::shared_ptr<Gal::Buffer> fbBuffer;
- std::shared_ptr<Gal::Framebuffer> fbTarget;
+ std::unique_ptr<TextureFbCopy> resizeTextureCopy;
+ std::unique_ptr<TextureFbCopy> fbTextureCopy;
std::shared_ptr<Gal::Texture> fbTextureColor;
std::shared_ptr<Gal::Texture> fbTextureDepthStencil;
+ std::shared_ptr<Gal::Framebuffer> fbTarget;
std::unique_ptr<Gbuffer> gbuffer;
EventListener listener;
std::string stateString;