OpenWalnut  1.4.0
Public Types | Public Member Functions
WGEOffscreenFinalPass Class Reference

This class is basically a WGEOffscreenTexturePass with the difference that it finally renders to the on-screen frame buffer. More...

#include <WGEOffscreenFinalPass.h>

+ Inheritance diagram for WGEOffscreenFinalPass:

List of all members.

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.

Detailed Description

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.


Member Typedef Documentation

Convenience typedef for an osg::ref_ptr; const.

Reimplemented from WGEOffscreenRenderPass.

Definition at line 51 of file WGEOffscreenFinalPass.h.

Convenience typedef for an osg::ref_ptr.

Reimplemented from WGEOffscreenRenderPass.

Definition at line 46 of file WGEOffscreenFinalPass.h.


Constructor & Destructor Documentation

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.

Parameters:
textureWidththe width of all the textures created and used by this render pass. This should be large enough for every reasonable viewport size.
textureHeightthe height of all the textures created and used by this render pass. This should be large enough for every reasonable viewport size.*
numthe 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.

Parameters:
textureWidththe width of all the textures created and used by this render pass. This should be large enough for every reasonable viewport size.
textureHeightthe height of all the textures created and used by this render pass. This should be large enough for every reasonable viewport size.*
numthe order number. This camera gets rendered at the num'th place in the pre render queue of the subgraph it is attached to.
hudthe hud that gets notified about attached and detached textures. Useful for debugging.
namethe 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.

Destructor.

Definition at line 80 of file WGEOffscreenFinalPass.cpp.


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