| 5 | namespace ZEngine::Rendering::Buffers { |
| 6 | |
| 7 | FrameBuffer::FrameBuffer(const FrameBufferSpecification& specification) : m_specification(specification) { |
| 8 | this->Resize(); |
| 9 | } |
| 10 | |
| 11 | FrameBuffer::~FrameBuffer() { |
| 12 | glDeleteTextures(1, &m_texture_color_depth_attachment); |