| 134 | } |
| 135 | |
| 136 | void StreamingTexture::UnloadTexture() |
| 137 | { |
| 138 | ScopeLock lock(_owner->GetOwnerLocker()); |
| 139 | CancelStreamingTasks(); |
| 140 | _texture->ReleaseGPU(); |
| 141 | _header.MipLevels = 0; |
| 142 | ASSERT(_streamingTasks.Count() == 0); |
| 143 | } |
| 144 | |
| 145 | uint64 StreamingTexture::GetTotalMemoryUsage() const |
| 146 | { |
no test coverage detected