MOS
standard_target.hpp
1 #pragma once
2 
3 #include <glad/glad.h>
4 
5 namespace mos::gl {
6 
8  friend class Renderer;
9 private:
10  Standard_target(const glm::ivec2 &resolution, const int samples);
11 public:
12  ~Standard_target();
13  Standard_target(const Standard_target &target) = delete;
14  Standard_target(Standard_target &&target) = delete;
15  Standard_target &operator=(const Standard_target &target) = delete;
16  Standard_target &operator=(Standard_target &&target) = delete;
17  const GLuint frame_buffer{};
18  const GLuint color_texture{};
19  const GLuint depth_texture{};
20 };
21 }
Definition: array_buffers.hpp:5
Render geometry shapes with OpenGL.
Definition: renderer.hpp:40
Definition: standard_target.hpp:7