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