5#ifndef SMK_FRAMEBUFFER_HPP
6#define SMK_FRAMEBUFFER_HPP
9#include <smk/OpenGL.hpp>
10#include <smk/RenderTarget.hpp>
11#include <smk/Texture.hpp>
34 GLuint render_buffer_ = 0;
35 std::vector<smk::Texture> color_textures_;
An off-screen drawable area. You can also draw it later in a smk::Sprite.
Framebuffer(int width, int height)
Construct a Framebuffer of a given dimensions.
int height() const
the height of the surface.
int width() const
the width of the surface.