emilib
Classes | Public Member Functions | List of all members
gl::FBO Class Reference

An off-screen buffer you can draw onto. More...

#include <gl_lib.hpp>

Classes

class  Lock
 Bind/unbind FBO: More...
 
struct  Params
 

Public Member Functions

 FBO (const std::string &debug_name, Size size, const Params &params)
 
 FBO (const std::string &debug_name, Size size)
 
 FBO (const FBO &)=delete
 
 FBO (FBO &&)=delete
 
void operator= (const FBO &)=delete
 
void operator= (FBO &&)=delete
 
GLuint id () const
 
const Sizesize () const
 
unsigned width () const
 
unsigned height () const
 
void generate_color_mipmap ()
 Call after painting if color_mipmap is set.
 
const gl::Texturecolor_texture () const
 
gl::Texture release_color_texture ()
 

Detailed Description

An off-screen buffer you can draw onto.


The documentation for this class was generated from the following file: