| 883 | } |
| 884 | |
| 885 | void GPUTexture::SetResidentMipLevels(int32 count) |
| 886 | { |
| 887 | count = Math::Clamp(count, 0, MipLevels()); |
| 888 | if (_residentMipLevels == count || !IsRegularTexture()) |
| 889 | return; |
| 890 | _residentMipLevels = count; |
| 891 | OnResidentMipsChanged(); |
| 892 | ResidentMipsChanged(this); |
| 893 | } |
no test coverage detected