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

State component that injects Fog rendering capabilities into a state set. More...

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

Public Member Functions

 DtOsgFogComponent ()
 CTOR.
osg::Fog * getFogAttribute () const
 Gets the attribute that controls fog parameters TODO: someday, replace the Fog attr with straight up uniforms.
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.

Protected Member Functions

virtual ~DtOsgFogComponent ()
 DTOR.
- 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.

Protected Attributes

osg::ref_ptr< osg::Fog > myFog

Detailed Description

State component that injects Fog rendering capabilities into a state set.

Constructor & Destructor Documentation

makVrv::DtOsgFogComponent::DtOsgFogComponent ( )

CTOR.

virtual makVrv::DtOsgFogComponent::~DtOsgFogComponent ( )
protectedvirtual

DTOR.

Member Function Documentation

osg::Fog* makVrv::DtOsgFogComponent::getFogAttribute ( ) const

Gets the attribute that controls fog parameters TODO: someday, replace the Fog attr with straight up uniforms.

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

Install this component on a state set.

Implements makVrv::DtOsgStateComponent.

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

Uninstall this component from a state set.

Implements makVrv::DtOsgStateComponent.

Member Data Documentation

osg::ref_ptr<osg::Fog> makVrv::DtOsgFogComponent::myFog
protected

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

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)