cherish
Public Member Functions | Protected Member Functions | List of all members
ProgramLineSegment Class Reference
Inheritance diagram for ProgramLineSegment:
ProgramPolygon ProgramEntity2D

Public Member Functions

virtual void updateIsFogged (bool f)
 
- Public Member Functions inherited from ProgramPolygon
virtual void initialize (osg::StateSet *state, osg::Camera *camera, osg::MatrixTransform *t, bool isFogged)
 
bool getIsFogged () const
 
- Public Member Functions inherited from ProgramEntity2D
virtual void initialize (osg::StateSet *state, osg::Camera *camera, osg::MatrixTransform *t)
 
void updateTransform (osg::MatrixTransform *t)
 
osg::MatrixTransform * getTransform () const
 
osg::Camera * getCamera () const
 

Protected Member Functions

virtual bool addPresetShaders ()
 
- Protected Member Functions inherited from ProgramPolygon
virtual bool addPresetUniforms ()
 
- Protected Member Functions inherited from ProgramEntity2D
template<typename T >
bool addUniform (const std::string &name, osg::Uniform::Type type, T *updateCallback=0)
 
bool addUniformCanvasMatrix ()
 
template<typename T >
bool addUniform (const std::string &name, osg::Uniform::Type type, T value)
 

Additional Inherited Members

- Protected Attributes inherited from ProgramPolygon
bool m_isFogged
 
- Protected Attributes inherited from ProgramEntity2D
osg::observer_ptr< osg::StateSet > m_state
 
osg::observer_ptr< osg::Camera > m_camera
 
osg::observer_ptr< osg::MatrixTransform > m_transform
 

Member Function Documentation

§ updateIsFogged()

void ProgramLineSegment::updateIsFogged ( bool  f)
virtual

A method to update one of the uniforms of the state set - fog factor.

Reimplemented from ProgramPolygon.


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