MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::SceneTextureGL Class Reference

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
 
FramebufferDatagetFramebuffer ()
 

Detailed Description

Class for rendering 3d scene into texture.


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