-----------------------------------------------------------------------
| 477 | } |
| 478 | //----------------------------------------------------------------------- |
| 479 | void TextureUnitState::setNumMipmaps(int numMipmaps) |
| 480 | { |
| 481 | OgreAssert(mFramePtrs[0], "frame must not be blank"); |
| 482 | for (auto& frame : mFramePtrs) |
| 483 | frame->setNumMipmaps(numMipmaps == MIP_DEFAULT |
| 484 | ? TextureManager::getSingleton().getDefaultNumMipmaps() |
| 485 | : numMipmaps); |
| 486 | } |
| 487 | //----------------------------------------------------------------------- |
| 488 | int TextureUnitState::getNumMipmaps(void) const |
| 489 | { |
no outgoing calls
no test coverage detected