|
YourGameLib
|
#include <framebuffer.h>
Classes | |
| struct | TextureAttachDescr |
Public Member Functions | |
| ~Framebuffer () | |
| void | bind () |
| void | unbindTarget () |
| void | resize (GLsizei width, GLsizei height) |
| yourgame::gl::Texture * | textureAttachment (int idx) |
| Framebuffer (Framebuffer const &)=delete | |
| Framebuffer & | operator= (Framebuffer const &)=delete |
Static Public Member Functions | |
| static Framebuffer * | make (GLsizei width, GLsizei height, std::vector< TextureAttachDescr > texAttachDescrs) |
| yourgame::gl::Framebuffer::~Framebuffer | ( | ) |
|
delete |
| void yourgame::gl::Framebuffer::bind | ( | ) |
|
static |
|
delete |
| void yourgame::gl::Framebuffer::resize | ( | GLsizei | width, |
| GLsizei | height | ||
| ) |
| yourgame::gl::Texture * yourgame::gl::Framebuffer::textureAttachment | ( | int | idx | ) |
| void yourgame::gl::Framebuffer::unbindTarget | ( | ) |