
Public Member Functions | |
| ShadowTexture () | |
| ShadowTexture (const ShadowTexture &es, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
| META_Object (osgShadow, ShadowTexture) | |
| void | setTextureUnit (unsigned int unit) |
| Set the texture unit that the shadow texture will be applied on. | |
| unsigned int | getTextureUnit () const |
| Get the texture unit that the shadow texture will be applied on. | |
| virtual void | init () |
| initialize the ShadowedScene and local cached data structures. | |
| virtual void | update (osg::NodeVisitor &nv) |
| run the update traversal of the ShadowedScene and update any loca chached data structures. | |
| virtual void | cull (osgUtil::CullVisitor &cv) |
| run the cull traversal of the ShadowedScene and set up the rendering for this ShadowTechnique. | |
| virtual void | cleanSceneGraph () |
| Clean scene graph from any shadow technique specific nodes, state and drawables. | |
Protected Member Functions | |
| virtual | ~ShadowTexture () |
Protected Attributes | |
| osg::ref_ptr < osg::Camera > | _camera |
| osg::ref_ptr < osg::TexGen > | _texgen |
| osg::ref_ptr < osg::Texture2D > | _texture |
| osg::ref_ptr < osg::StateSet > | _stateset |
| osg::ref_ptr < osg::Material > | _material |
| unsigned int | _textureUnit |
| osgShadow::ShadowTexture::ShadowTexture | ( | ) |
| osgShadow::ShadowTexture::ShadowTexture | ( | const ShadowTexture & | es, | |
| const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY | |||
| ) |
| virtual osgShadow::ShadowTexture::~ShadowTexture | ( | ) | [inline, protected, virtual] |
| osgShadow::ShadowTexture::META_Object | ( | osgShadow | , | |
| ShadowTexture | ||||
| ) |
| void osgShadow::ShadowTexture::setTextureUnit | ( | unsigned int | unit | ) |
Set the texture unit that the shadow texture will be applied on.
| unsigned int osgShadow::ShadowTexture::getTextureUnit | ( | ) | const [inline] |
Get the texture unit that the shadow texture will be applied on.
| virtual void osgShadow::ShadowTexture::init | ( | ) | [virtual] |
initialize the ShadowedScene and local cached data structures.
Reimplemented from osgShadow::ShadowTechnique.
| virtual void osgShadow::ShadowTexture::update | ( | osg::NodeVisitor & | nv | ) | [virtual] |
run the update traversal of the ShadowedScene and update any loca chached data structures.
Reimplemented from osgShadow::ShadowTechnique.
| virtual void osgShadow::ShadowTexture::cull | ( | osgUtil::CullVisitor & | cv | ) | [virtual] |
run the cull traversal of the ShadowedScene and set up the rendering for this ShadowTechnique.
Reimplemented from osgShadow::ShadowTechnique.
| virtual void osgShadow::ShadowTexture::cleanSceneGraph | ( | ) | [virtual] |
Clean scene graph from any shadow technique specific nodes, state and drawables.
Reimplemented from osgShadow::ShadowTechnique.
osg::ref_ptr<osg::Camera> osgShadow::ShadowTexture::_camera [protected] |
osg::ref_ptr<osg::TexGen> osgShadow::ShadowTexture::_texgen [protected] |
osg::ref_ptr<osg::Texture2D> osgShadow::ShadowTexture::_texture [protected] |
osg::ref_ptr<osg::StateSet> osgShadow::ShadowTexture::_stateset [protected] |
osg::ref_ptr<osg::Material> osgShadow::ShadowTexture::_material [protected] |
unsigned int osgShadow::ShadowTexture::_textureUnit [protected] |