OpenWalnut
1.4.0
|
This class is basically a WGEOffscreenTexturePass with the difference that it finally renders to the on-screen frame buffer. More...
#include <WGEOffscreenFinalPass.h>
Public Types | |
typedef osg::ref_ptr < WGEOffscreenFinalPass > | RefPtr |
Convenience typedef for an osg::ref_ptr. | |
typedef osg::ref_ptr< const WGEOffscreenFinalPass > | ConstRefPtr |
Convenience typedef for an osg::ref_ptr; const. | |
Public Member Functions | |
WGEOffscreenFinalPass (size_t textureWidth, size_t textureHeight, int num=0) | |
Creates a new rendering pass instance which actually renders on a full-screen quad. | |
WGEOffscreenFinalPass (size_t textureWidth, size_t textureHeight, osg::ref_ptr< WGETextureHud > hud, std::string name, int num=0) | |
Creates a new rendering pass instance which actually renders on a full-screen quad. | |
virtual | ~WGEOffscreenFinalPass () |
Destructor. |
This class is basically a WGEOffscreenTexturePass with the difference that it finally renders to the on-screen frame buffer.
Definition at line 40 of file WGEOffscreenFinalPass.h.
typedef osg::ref_ptr< const WGEOffscreenFinalPass > WGEOffscreenFinalPass::ConstRefPtr |
Convenience typedef for an osg::ref_ptr; const.
Reimplemented from WGEOffscreenRenderPass.
Definition at line 51 of file WGEOffscreenFinalPass.h.
typedef osg::ref_ptr< WGEOffscreenFinalPass > WGEOffscreenFinalPass::RefPtr |
Convenience typedef for an osg::ref_ptr.
Reimplemented from WGEOffscreenRenderPass.
Definition at line 46 of file WGEOffscreenFinalPass.h.
WGEOffscreenFinalPass::WGEOffscreenFinalPass | ( | size_t | textureWidth, |
size_t | textureHeight, | ||
int | num = 0 |
||
) |
Creates a new rendering pass instance which actually renders on a full-screen quad.
textureWidth | the width of all the textures created and used by this render pass. This should be large enough for every reasonable viewport size. |
textureHeight | the height of all the textures created and used by this render pass. This should be large enough for every reasonable viewport size.* |
num | the order number. This camera gets rendered at the num'th place in the pre render queue of the subgraph it is attached to. |
Definition at line 31 of file WGEOffscreenFinalPass.cpp.
References WGEOffscreenRenderPass::m_hud.
WGEOffscreenFinalPass::WGEOffscreenFinalPass | ( | size_t | textureWidth, |
size_t | textureHeight, | ||
osg::ref_ptr< WGETextureHud > | hud, | ||
std::string | name, | ||
int | num = 0 |
||
) |
Creates a new rendering pass instance which actually renders on a full-screen quad.
textureWidth | the width of all the textures created and used by this render pass. This should be large enough for every reasonable viewport size. |
textureHeight | the height of all the textures created and used by this render pass. This should be large enough for every reasonable viewport size.* |
num | the order number. This camera gets rendered at the num'th place in the pre render queue of the subgraph it is attached to. |
hud | the hud that gets notified about attached and detached textures. Useful for debugging. |
name | the name of this render pass. This is a nice debugging feature in conjunction with WGETextureHud as it gets displayed there. |
Definition at line 55 of file WGEOffscreenFinalPass.cpp.
References WGEOffscreenRenderPass::m_hud.
WGEOffscreenFinalPass::~WGEOffscreenFinalPass | ( | ) | [virtual] |
Destructor.
Definition at line 80 of file WGEOffscreenFinalPass.cpp.