![]() |
VR-Forces 4.7 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) | |
| constructor | |
| ~DtEffectTextureUnitStateAttribute () | |
| destructor | |
| DtEffectTextureUnitStateAttribute (const DtEffectTextureUnitStateAttribute &stateAttrib, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
| Copy constructor using CopyOp to manage deep vs shallow copy. | |
| META_StateAttribute (osg, DtEffectTextureUnitStateAttribute, EffectTextureUnitStateAttributeType) | |
| virtual bool | isTextureAttribute () const |
| virtual override to specify that this is a texture attribute | |
| virtual int | compare (const osg::StateAttribute &sa) const |
| Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. | |
| unsigned int | texCoordUnit () const |
| which texture coordinate should be used with this effect texture. | |
Static Public Attributes | |
| static const osg::StateAttribute::Type | EffectTextureUnitStateAttributeType = (osg::StateAttribute::Type)2000 |
| constant used to specify the type for this state attribute | |
Private Attributes | |
| unsigned int | myTexCoordUnit |
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 | ) |
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.
|
static |
constant used to specify the type for this state attribute