#include <Framebuffer.h>

Public Member Functions | |
| Framebuffer (void) | |
| virtual | ~Framebuffer (void) |
| deletes the framebuffer | |
| virtual void | createProperties (void) |
| virtual const string | getTypeName (bool ofComponent=false) const |
| virtual void | onInitialize (void) |
| virtual void | onBind (int unit=-1) |
| virtual void | onUnbind (int unit=-1) |
| void | addRenderbuffer (const RenderbufferPtr buffer, bool send=true) |
| void | addRenderbuffer (const string buffer, bool send=true) |
| bool | hasColorBuffer (void) const |
| bool | hasStencilBuffer (void) const |
| bool | hasDepthBuffer (void) const |
| GLuint | getID (void) const |
| GLuint | getWidth (void) const |
| GLuint | getHeight (void) const |
Static Public Member Functions | |
| static PropertyPtr | create (const XMLNodePtr &xml=XMLNodePtr()) |
| static void | copy (const FramebufferPtr from, const FramebufferPtr to) |
| static void | copy (const SamplerPtr s, GLuint to) |
| static void | setDefaultFramebufferID (GLuint id) |
| static void | setDefaultReadbufferID (GLuint id) |
| static void | setDefaultDrawbufferID (GLuint id) |
| static GLuint | getDefaultFramebufferID (void) |
| static GLuint | getDefaultReadbufferID (void) |
| static GLuint | getDefaultDrawbufferID (void) |
Definition at line 19 of file Framebuffer.h.
| RenderTools::Framebuffer::Framebuffer | ( | void | ) |
Definition at line 19 of file Framebuffer.cpp.
| RenderTools::Framebuffer::~Framebuffer | ( | void | ) | [virtual] |
| void RenderTools::Framebuffer::addRenderbuffer | ( | const string | buffer, | |
| bool | send = true | |||
| ) |
| void RenderTools::Framebuffer::addRenderbuffer | ( | const RenderbufferPtr | buffer, | |
| bool | send = true | |||
| ) |
| void RenderTools::Framebuffer::copy | ( | const SamplerPtr | s, | |
| GLuint | to | |||
| ) | [static] |
| void RenderTools::Framebuffer::copy | ( | const FramebufferPtr | from, | |
| const FramebufferPtr | to | |||
| ) | [static] |
Definition at line 236 of file Framebuffer.cpp.
| PropertyPtr RenderTools::Framebuffer::create | ( | const XMLNodePtr & | xml = XMLNodePtr() |
) | [static] |
Definition at line 27 of file Framebuffer.cpp.
| void RenderTools::Framebuffer::createProperties | ( | void | ) | [virtual] |
Reimplemented from RenderTools::AbstractPropertyContainer.
Definition at line 35 of file Framebuffer.cpp.
| GLuint RenderTools::Framebuffer::getDefaultDrawbufferID | ( | void | ) | [static] |
Definition at line 324 of file Framebuffer.cpp.
| GLuint RenderTools::Framebuffer::getDefaultFramebufferID | ( | void | ) | [static] |
Definition at line 316 of file Framebuffer.cpp.
| GLuint RenderTools::Framebuffer::getDefaultReadbufferID | ( | void | ) | [static] |
Definition at line 320 of file Framebuffer.cpp.
| GLuint RenderTools::Framebuffer::getHeight | ( | void | ) | const |
Definition at line 300 of file Framebuffer.cpp.
| GLuint RenderTools::Framebuffer::getID | ( | void | ) | const |
Definition at line 292 of file Framebuffer.cpp.
| const string RenderTools::Framebuffer::getTypeName | ( | bool | ofComponent = false |
) | const [virtual] |
| GLuint RenderTools::Framebuffer::getWidth | ( | void | ) | const |
Definition at line 296 of file Framebuffer.cpp.
| bool RenderTools::Framebuffer::hasColorBuffer | ( | void | ) | const |
Definition at line 280 of file Framebuffer.cpp.
| bool RenderTools::Framebuffer::hasDepthBuffer | ( | void | ) | const |
Definition at line 288 of file Framebuffer.cpp.
| bool RenderTools::Framebuffer::hasStencilBuffer | ( | void | ) | const |
Definition at line 284 of file Framebuffer.cpp.
| void RenderTools::Framebuffer::onBind | ( | int | unit = -1 |
) | [virtual] |
| void RenderTools::Framebuffer::onInitialize | ( | void | ) | [virtual] |
create an ID
check if OK
unbind until called upon
Reimplemented from RenderTools::AbstractPropertyContainer.
Definition at line 125 of file Framebuffer.cpp.
| void RenderTools::Framebuffer::onUnbind | ( | int | unit = -1 |
) | [virtual] |
| void RenderTools::Framebuffer::setDefaultDrawbufferID | ( | GLuint | id | ) | [static] |
Definition at line 312 of file Framebuffer.cpp.
| void RenderTools::Framebuffer::setDefaultFramebufferID | ( | GLuint | id | ) | [static] |
Definition at line 304 of file Framebuffer.cpp.
| void RenderTools::Framebuffer::setDefaultReadbufferID | ( | GLuint | id | ) | [static] |
Definition at line 308 of file Framebuffer.cpp.
1.5.8