OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Macros
ViewDependentShadowTechnique.h File Reference
#include <osgShadow/ShadowTechnique>
#include <map>
#include <osgShadow/Export>
Include dependency graph for ViewDependentShadowTechnique.h:

Go to the source code of this file.

Classes

class  osgShadow::ViewDependentShadowTechnique
 
struct  osgShadow::ViewDependentShadowTechnique::ViewData
 

Namespaces

 osgShadow
 

Macros

#define META_ViewDependentShadowTechniqueData(ShadowTechnique, TechniqueData)
 

Macro Definition Documentation

#define META_ViewDependentShadowTechniqueData (   ShadowTechnique,
  TechniqueData 
)
Value:
virtual ViewDependentShadowTechnique::ViewData * initViewDependentData \
( osgUtil::CullVisitor *cv, ViewDependentShadowTechnique::ViewData * vd ) \
{ \
TechniqueData* td = dynamic_cast<TechniqueData*>( vd ); \
if ( !td ) td = new TechniqueData; \
td->init( this, cv ); \
return td; \
}

META_ViewDependentShadowTechniqueData macro defines initViewDependentData method used by derived shadow techniques to initialize their specific ViewData objects. initViewDependentData will be called from ViewDependentShadowTechnique base class to init derived class

Definition at line 31 of file ViewDependentShadowTechnique.h.