11 * The "FrameBuffer" class represents an offscreen render target.
16 FrameBuffer() : m_render_texture(0), m_render_fbo(0), m_width(0), m_height(0) {}
17 ~FrameBuffer() { Destroy(); }
18 void Create(int w, int h);
23 void Clear(float r=1.0, float g=1.0, float b=1.0, float a=1.0);
24 int GetWidth() { return m_width; }
25 int GetHeight() { return m_height; }
27 GLuint m_render_texture;