|
emilib
|
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 ¶ms) | |
| 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 Size & | size () const |
| unsigned | width () const |
| unsigned | height () const |
| void | generate_color_mipmap () |
| Call after painting if color_mipmap is set. | |
| const gl::Texture & | color_texture () const |
| gl::Texture | release_color_texture () |
An off-screen buffer you can draw onto.
1.8.13