CSEngine
Loading...
Searching...
No Matches
CoreBufferContainer.h
1#pragma once
2
3namespace CSE {
4
5 class SFrameBuffer;
6
8 public:
9 CoreBufferContainer() = default;
10 virtual ~CoreBufferContainer() = default;
11
12 SFrameBuffer* GetMainBuffer() const {
13 return m_mainBuffer;
14 }
15
16 protected:
17 void InitBuffers(int width, int height);
18 void ResizeBuffers(int width, int height);
19
20 private:
21 SFrameBuffer* m_mainBuffer = nullptr;
22 };
23
24}