VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected 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. More...
 
virtual bool install (osg::StateSet *stateset)
 Install this component on a state set. More...
 
virtual bool uninstall (osg::StateSet *stateset)
 Uninstall this component from a state set. More...
 
- Public Member Functions inherited from makVrv::DtOsgStateComponent
 DtOsgStateComponent (DtDe &de)
 CTOR. More...
 

Protected Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from makVrv::DtOsgStateComponent
DtDemyDe
 
DtOsgShaderFilesCachemyShaderFilesCache
 

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 ( )
protectedvirtual

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 Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)