| 718 | } |
| 719 | |
| 720 | void Texture2D::removeSpriteFrameCapInset(SpriteFrame* spriteFrame) |
| 721 | { |
| 722 | if (nullptr != this->_ninePatchInfo) |
| 723 | { |
| 724 | auto capInsetMap = this->_ninePatchInfo->capInsetMap; |
| 725 | if (capInsetMap.find(spriteFrame) != capInsetMap.end()) |
| 726 | { |
| 727 | capInsetMap.erase(spriteFrame); |
| 728 | } |
| 729 | } |
| 730 | } |
| 731 | |
| 732 | void Texture2D::setTexParameters(const Texture2D::TexParams& desc) |
| 733 | { |
no test coverage detected