![]() |
VR-Forces Developer's Guide
|
class used to flip the channel horizontally during the post processor camera draw

Public Member Functions | |
| virtual | ~DtBlendMaskDrawable () |
| void | setOpacity (float opacity) |
| void | setOpacityMask (osg::ref_ptr< osg::Texture > mask) |
| void | setImageOverlay (osg::ref_ptr< osg::Texture > mask) |
| virtual void | drawImplementation (osg::RenderInfo &renderInfo) const |
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 |
| virtual void | beginTexturedQuad () const |
| virtual void | endTexturedQuad () const |
| virtual std::string | preprocessorDefinesString (void) const |
| virtual DtGlProgram * | createProgram (const std::string &path, const std::string &prefixName, const std::string &preprocessor="") const |
| virtual void | releaseGLObjects (osg::State *state=0) const override |
Protected Member Functions | |
| DtBlendMaskDrawable (DtDe &de) | |
| virtual void | createProgramIfNecessary (const std::string &path, const std::string &prefixName) const |
| void | cleanupGpuMemory (void) |
Protected Member Functions inherited from makVrv::DtPostProcessorDrawable | |
| void | setupGeometry () const |
Protected Attributes | |
| friend | DtBlendMaskDrawableCreator |
| DtGlProgram * | myMutableProgram |
| int | myMutableOpacityLoc |
| int | myMutableOpacityMaskTexLoc |
| int | myMutableImageOverlayTexLoc |
| float | myOpacity |
| osg::ref_ptr< osg::Texture > | myOpacityMaskTexture |
| osg::ref_ptr< osg::Texture > | myImageOverlayTexture |
Protected Attributes inherited from makVrv::DtPostProcessorDrawable | |
| DtDe & | myDe |
| DtGlBuffer * | myMutableVbo = nullptr |
| DtCoreGlBufferCreator & | myDtCoreGlBufferCreator |
| DtGlDeleteObjectManager & | myGlDeleteObjectManager |
Private Member Functions | |
| DtBlendMaskDrawable () | |
| DtBlendMaskDrawable (const DtBlendMaskDrawable &) | |
| DtBlendMaskDrawable & | operator= (const DtBlendMaskDrawable &) |
|
virtual |
destructor
|
protected |
constructor. protected. only creator can create
|
private |
private default constructor. not allowed.
|
private |
prevent copy-construction
|
private |
prevent assignment
| void makVrv::DtBlendMaskDrawable::setOpacity | ( | float | opacity | ) |
| void makVrv::DtBlendMaskDrawable::setOpacityMask | ( | osg::ref_ptr< osg::Texture > | mask | ) |
| void makVrv::DtBlendMaskDrawable::setImageOverlay | ( | osg::ref_ptr< osg::Texture > | mask | ) |
|
virtual |
overridden
|
protectedvirtual |
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 create the program that performs the blending/alpha adjustment
|
protected |
cleanup gpu resource (not virtual due to usage in destructor)
|
protected |
friended, to access constructor above
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |