All Classes Files Functions Variables Typedefs Pages
HotRenderContext.hpp
1 #pragma once
2 
3 #include "HotRenderContext.fpp"
4 #include "GLProperty.hpp"
5 #include "RenderContext.hpp"
6 #include "GLObject.hpp"
7 #include "../util/NotCloneable.hpp"
8 
9 namespace lumina {
10 
12 public:
15 
16  FrameBuffer& getDefaultFrameBuffer();
17  void swapBuffer();
18 
19  template <typename T = int> T getProperty(GLProp prop);
20 
21 private:
22  RenderContext& m_cold;
23 };
24 
25 }
26 
27 #include "HotRenderContext.tpp"
Definition: RenderContext.hpp:19
Definition: GLObject.hpp:18
Definition: HotRenderContext.hpp:11
Wrapper for either a UserFrameBuffer or the DefaultFrameBuffer (provides a layer of indirection) ...
Definition: FrameBuffer.hpp:107