| 94 | } |
| 95 | |
| 96 | void TextureInfo::assign(const TextureInfo& other) |
| 97 | { |
| 98 | if (this != &other) |
| 99 | { |
| 100 | releaseTextures(); |
| 101 | |
| 102 | indexs = other.indexs; |
| 103 | slots = other.slots; |
| 104 | textures = other.textures; |
| 105 | retainTextures(); |
| 106 | |
| 107 | #if AX_ENABLE_CACHE_TEXTURE_DATA |
| 108 | location = other.location; |
| 109 | #endif |
| 110 | } |
| 111 | } |
| 112 | |
| 113 | void TextureInfo::assign(TextureInfo&& other) |
| 114 | { |
no test coverage detected