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

Public Types | |
| typedef osg::FloatArray | TextureWeights |
Public Member Functions | |
| MultiTextureControl () | |
| MultiTextureControl (const MultiTextureControl ©, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
| META_Node (osgFX, MultiTextureControl) | |
| void | setTextureWeights (TextureWeights *twl) |
| TextureWeights * | getTextureWeights () |
| const TextureWeights * | getTextureWeights () const |
| void | setTextureWeight (unsigned int unit, float weight) |
| float | getTextureWeight (unsigned int unit) const |
| unsigned int | getNumTextureWeights () const |
| void | setUseTexEnvCombine (bool flag) |
| bool | getUseTexEnvCombine () const |
| void | setUseTextureWeightsUniform (bool flag) |
| bool | getUseTextureWeightsUniform () const |
Protected Member Functions | |
| virtual | ~MultiTextureControl () |
| MultiTextureControl & | operator= (const MultiTextureControl &) |
| void | updateStateSet () |
Protected Attributes | |
| osg::ref_ptr< TextureWeights > | _textureWeights |
| bool | _useTexEnvCombine |
| bool | _useTextureWeightsUniform |
This node provides control over the which texture units are active and the blending weighting between them.
| osgFX::MultiTextureControl::MultiTextureControl | ( | const MultiTextureControl & | copy, |
| const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY |
||
| ) |
| virtual osgFX::MultiTextureControl::~MultiTextureControl | ( | ) | [inline, protected, virtual] |
| unsigned int osgFX::MultiTextureControl::getNumTextureWeights | ( | ) | const [inline] |
| float osgFX::MultiTextureControl::getTextureWeight | ( | unsigned int | unit | ) | const [inline] |
| TextureWeights* osgFX::MultiTextureControl::getTextureWeights | ( | ) | [inline] |
| const TextureWeights* osgFX::MultiTextureControl::getTextureWeights | ( | ) | const [inline] |
| bool osgFX::MultiTextureControl::getUseTexEnvCombine | ( | ) | const [inline] |
| bool osgFX::MultiTextureControl::getUseTextureWeightsUniform | ( | ) | const [inline] |
| MultiTextureControl& osgFX::MultiTextureControl::operator= | ( | const MultiTextureControl & | ) | [inline, protected] |
| void osgFX::MultiTextureControl::setTextureWeight | ( | unsigned int | unit, |
| float | weight | ||
| ) |
| void osgFX::MultiTextureControl::setTextureWeights | ( | TextureWeights * | twl | ) | [inline] |
| void osgFX::MultiTextureControl::setUseTexEnvCombine | ( | bool | flag | ) | [inline] |
| void osgFX::MultiTextureControl::setUseTextureWeightsUniform | ( | bool | flag | ) | [inline] |
| void osgFX::MultiTextureControl::updateStateSet | ( | ) | [protected] |
bool osgFX::MultiTextureControl::_useTexEnvCombine [protected] |
bool osgFX::MultiTextureControl::_useTextureWeightsUniform [protected] |
| Generated at Tue Dec 8 2015 00:16:47 for the OpenSceneGraph by doxygen 1.7.6.1. |