VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
makVrv::DtOsgGlobalShaderComponent Class Reference

State component that injects top-level global shader code; i.e. More...

Inheritance diagram for makVrv::DtOsgGlobalShaderComponent:
Inheritance graph
[legend]

Public Member Functions

 DtOsgGlobalShaderComponent (DtDe &de)
 CTOR.
virtual ~DtOsgGlobalShaderComponent ()
 DTOR.
virtual bool install (osg::StateSet *stateset)
 Install this component on a state set.
virtual bool uninstall (osg::StateSet *stateset)
 Uninstall this component from a state set.
- Public Member Functions inherited from makVrv::DtOsgStateComponent
 DtOsgStateComponent (DtDe &de, const DtOsgStateComponentContext *context=0L)
 CTOR.
const DtOsgStateComponentContextgetContext () const
 Gets the context under which this component operates.

Additional Inherited Members

- Protected Member Functions inherited from makVrv::DtOsgStateComponent
virtual ~DtOsgStateComponent ()
 DTOR.
std::string loadShaderSource (const std::string &strFileName) const
 Loads shader source code from a path.

Detailed Description

State component that injects top-level global shader code; i.e.

shader state that should affect the entire scene graph.

Constructor & Destructor Documentation

makVrv::DtOsgGlobalShaderComponent::DtOsgGlobalShaderComponent ( DtDe de)

CTOR.

virtual makVrv::DtOsgGlobalShaderComponent::~DtOsgGlobalShaderComponent ( )
virtual

DTOR.

Member Function Documentation

virtual bool makVrv::DtOsgGlobalShaderComponent::install ( osg::StateSet *  stateset)
virtual

Install this component on a state set.

Implements makVrv::DtOsgStateComponent.

virtual bool makVrv::DtOsgGlobalShaderComponent::uninstall ( osg::StateSet *  stateset)
virtual

Uninstall this component from a state set.

Implements makVrv::DtOsgStateComponent.


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

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)