![]() |
VR-Forces 4.8 Class Documentation
|
class used to render water on screen effects during the post processor camera draw More...

Public Member Functions | |
| virtual | ~DtWaterOnScreenDrawable () |
| destructor More... | |
| virtual void | releaseGLObjects (osg::State *state) const |
| releases gpu objects on context recreation More... | |
| virtual void | drawImplementation (osg::RenderInfo &renderInfo) const |
| overridden More... | |
| virtual void | setNormalMap (osg::Texture *texture) |
| overridden currently unneeded because the postprocessor drawable is always deleted/recreated because of channel creation/destruction virtual void releaseGLObjects(osg::State* state = 0) const; //! More... | |
| virtual void | setParameters (DtWaterOnScreenParameters ¶ms) |
| set the parameters More... | |
Public Member Functions inherited from makVrv::DtPostProcessorDrawable | |
| DtPostProcessorDrawable (DtDe &de) | |
| DtPostProcessorDrawable (const DtPostProcessorDrawable &orig, const osg::CopyOp &op) | |
| virtual | ~DtPostProcessorDrawable () |
| virtual void | drawTexturedQuad (bool drawOnly=false) const |
| prevent assignment More... | |
| virtual void | beginTexturedQuad () const |
| vert pointes gl states etc More... | |
| virtual void | endTexturedQuad () const |
| disable modes stup in begin More... | |
| virtual std::string | preprocessorDefinesString (void) const |
| preprocessor string taking into account the current options (multiview, etc) More... | |
| virtual unsigned int | createProgram (const std::string &path, const std::string &prefixName, const std::string &preprocessor="") const |
| create a program based on the name (name_ps.glsl and name_vs.glsl files are used) More... | |
| virtual void | destroyProgram (unsigned int program) const |
Protected Member Functions | |
| DtWaterOnScreenDrawable (DtDe &de) | |
| constructor. private. only creator can create More... | |
| virtual void | createProgramIfNecessary (void) const |
| create the program if not created already More... | |
| virtual void | cleanupGpuMemory () |
Protected Member Functions inherited from makVrv::DtPostProcessorDrawable | |
| void | setupGeometry () const |
| brief setup the vertex buffer object used in draw quad More... | |
Protected Attributes | |
| friend | DtWaterOnScreenDrawableCreator |
| friended, to access constructor above More... | |
| unsigned int | myMutableWaterOnScreenProgram |
| osg::ref_ptr< osg::Texture > | myNormalMap |
| DtWaterOnScreenParameters | myParams |
| int | myMutableVrvEffectIntensityLoc |
| locations of various uniforms for the shaders More... | |
| int | myMutableVrvOffsetLoc |
| int | myMutableVrvOpacityLoc |
| int | myMutableVrvWaterNormalsLoc |
| int | myMutableVrvFovLoc |
| int | myMutableVrvAspectRatioLoc |
Protected Attributes inherited from makVrv::DtPostProcessorDrawable | |
| DtDe & | myDe |
| unsigned int | myMutableVbo |
Private Member Functions | |
| DtWaterOnScreenDrawable () | |
| private default constructor. not allowed. More... | |
| DtWaterOnScreenDrawable (const DtWaterOnScreenDrawable &) | |
| prevent copy-construction More... | |
| DtWaterOnScreenDrawable & | operator= (const DtWaterOnScreenDrawable &) |
| prevent assignment More... | |
class used to render water on screen effects during the post processor camera draw
|
virtual |
destructor
|
protected |
constructor. private. only creator can create
|
private |
private default constructor. not allowed.
|
private |
prevent copy-construction
|
virtual |
releases gpu objects on context recreation
|
private |
prevent assignment
|
virtual |
overridden
|
virtual |
overridden currently unneeded because the postprocessor drawable is always deleted/recreated because of channel creation/destruction virtual void releaseGLObjects(osg::State* state = 0) const; //!
overridden currently unneeded because the postprocessor drawable is always deleted/recreated because of channel creation/destruction set the normal map
|
virtual |
set the parameters
|
protectedvirtual |
create the program if not created already
|
protectedvirtual |
|
protected |
friended, to access constructor above
|
protected |
|
protected |
|
mutableprotected |
locations of various uniforms for the shaders
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |