From acd89cf669a5fb18668f5cb5762a971b0ba42801 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Fri, 25 Jan 2019 08:46:05 +0500 Subject: Added Framebuffer class --- src/Render.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/Render.hpp') diff --git a/src/Render.hpp b/src/Render.hpp index adb0547..eea5450 100644 --- a/src/Render.hpp +++ b/src/Render.hpp @@ -12,6 +12,7 @@ #include "Event.hpp" class RendererWorld; +class Framebuffer; class Render { SDL_Window *window; @@ -28,7 +29,8 @@ class Render { std::map isKeyPressed; bool HasFocus=true; float sensetivity = 0.1f; - bool isWireframe = false; + bool isWireframe = false; + std::unique_ptr framebuffer; std::vector chatMessages; EventListener listener; std::string stateString; @@ -41,6 +43,7 @@ class Render { bool fieldVsync; bool fieldFlight; float fieldBrightness; + float fieldResolutionScale; void SetMouseCapture(bool IsCaptured); -- cgit v1.2.3