-----------------------------------------------------------------------
| 437 | } |
| 438 | //----------------------------------------------------------------------- |
| 439 | void TextureUnitState::setCurrentFrame(unsigned int frameNumber) |
| 440 | { |
| 441 | OgreAssert(frameNumber < mFramePtrs.size(), "out of range"); |
| 442 | mCurrentFrame = frameNumber; |
| 443 | // this will affect the hash |
| 444 | if( Pass::getHashFunction() == Pass::getBuiltinHashFunction( Pass::MIN_TEXTURE_CHANGE ) ) |
| 445 | { |
| 446 | mParent->_dirtyHash(); |
| 447 | } |
| 448 | } |
| 449 | //----------------------------------------------------------------------- |
| 450 | unsigned int TextureUnitState::getCurrentFrame(void) const |
| 451 | { |
no test coverage detected