VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 ()
 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 (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 ( )

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 Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)