![]() |
VR-Forces 4.10 Class Documentation
|
Attribute used to hold the texture coordinate unit to use with the effect texture in the texture attribute that has the same unit. More...

Public Member Functions | |
| DtEffectTextureUnitStateAttribute (unsigned int texCoordUnit=0, const std::string &baseTextureName="") | |
| constructor More... | |
| ~DtEffectTextureUnitStateAttribute () | |
| destructor More... | |
| DtEffectTextureUnitStateAttribute (const DtEffectTextureUnitStateAttribute &stateAttrib, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
| Copy constructor using CopyOp to manage deep vs shallow copy. More... | |
| META_StateAttribute (osg, DtEffectTextureUnitStateAttribute, EffectTextureUnitStateAttributeType) | |
| virtual bool | isTextureAttribute () const |
| virtual override to specify that this is a texture attribute More... | |
| virtual int | compare (const osg::StateAttribute &sa) const |
| Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. More... | |
| unsigned int | texCoordUnit () const |
| which texture coordinate should be used with this effect texture. More... | |
| const std::string & | baseTextureName () const |
| which texture is the base texture for this effect texture. "" if not set. Currently only used by configurable effects More... | |
Static Public Attributes | |
| static const osg::StateAttribute::Type | EffectTextureUnitStateAttributeType = (osg::StateAttribute::Type)2000 |
| constant used to specify the type for this state attribute More... | |
Private Attributes | |
| unsigned int | myTexCoordUnit |
| std::string | myBaseTextureName |
Attribute used to hold the texture coordinate unit to use with the effect texture in the texture attribute that has the same unit.
This is used by the indirect rendering system to know which texture unit's coordinates to use with for each texture.
| makVrv::DtEffectTextureUnitStateAttribute::DtEffectTextureUnitStateAttribute | ( | unsigned int | texCoordUnit = 0, |
| const std::string & | baseTextureName = "" |
||
| ) |
constructor
| makVrv::DtEffectTextureUnitStateAttribute::~DtEffectTextureUnitStateAttribute | ( | ) |
destructor
| makVrv::DtEffectTextureUnitStateAttribute::DtEffectTextureUnitStateAttribute | ( | const DtEffectTextureUnitStateAttribute & | stateAttrib, |
| const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY |
||
| ) |
Copy constructor using CopyOp to manage deep vs shallow copy.
| makVrv::DtEffectTextureUnitStateAttribute::META_StateAttribute | ( | osg | , |
| DtEffectTextureUnitStateAttribute | , | ||
| EffectTextureUnitStateAttributeType | |||
| ) |
|
virtual |
virtual override to specify that this is a texture attribute
|
virtual |
Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.
which texture coordinate should be used with this effect texture.
| const std::string& makVrv::DtEffectTextureUnitStateAttribute::baseTextureName | ( | ) | const |
which texture is the base texture for this effect texture. "" if not set. Currently only used by configurable effects
|
static |
constant used to specify the type for this state attribute
|
private |