OpenSceneGraph  3.0.1
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
osgFX::MultiTextureControl Class Reference

This node provides control over the which texture units are active and the blending weighting between them. More...

Inheritance diagram for osgFX::MultiTextureControl:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 MultiTextureControl ()
 MultiTextureControl (const MultiTextureControl &copy, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 META_Node (osgFX, MultiTextureControl)
void setTextureWeight (unsigned int unit, float weight)
float getTextureWeight (unsigned int unit) const
unsigned int getNumTextureWeights () const

Protected Types

typedef std::vector< float > TextureWeightList

Protected Member Functions

virtual ~MultiTextureControl ()
MultiTextureControloperator= (const MultiTextureControl &)
void updateStateSet ()

Protected Attributes

TextureWeightList _textureWeightList

Detailed Description

This node provides control over the which texture units are active and the blending weighting between them.


Member Typedef Documentation

typedef std::vector<float> osgFX::MultiTextureControl::TextureWeightList [protected]

Constructor & Destructor Documentation

virtual osgFX::MultiTextureControl::~MultiTextureControl ( ) [inline, protected, virtual]

Member Function Documentation

unsigned int osgFX::MultiTextureControl::getNumTextureWeights ( ) const [inline]
float osgFX::MultiTextureControl::getTextureWeight ( unsigned int  unit) const [inline]
MultiTextureControl& osgFX::MultiTextureControl::operator= ( const MultiTextureControl ) [inline, protected]
void osgFX::MultiTextureControl::setTextureWeight ( unsigned int  unit,
float  weight 
)

Member Data Documentation


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

osg logo
Generated at Thu Sep 27 2012 12:20:42 for the OpenSceneGraph by doxygen 1.7.6.1.