Class for rendering 3d scene into texture. More...
#include <MRSceneTextureGL.h>
Public Member Functions | |
| void | bind (bool clear) |
| void | unbind () |
| binds default framebuffer (and read/draw framebuffers) | |
| void | reset (const Vector2i &size, int msaaPow, bool depthTexture) |
| void | copyTexture () |
| copy texture so draw() can render it | |
| void | draw () |
| renders texture | |
| bool | isBound () const |
| return true if texture is bound | |
| FramebufferData & | getFramebuffer () |
Class for rendering 3d scene into texture.