| 208 | } |
| 209 | |
| 210 | GPUTexture::GPUTexture() |
| 211 | : GPUResource(SpawnParams(Guid::New(), TypeInitializer)) |
| 212 | , _residentMipLevels(0) |
| 213 | , _sRGB(false) |
| 214 | , _isBlockCompressed(false) |
| 215 | { |
| 216 | // Keep description data clear (we use _desc.MipLevels to check if it's has been initated) |
| 217 | _desc.Clear(); |
| 218 | } |
| 219 | |
| 220 | bool GPUTexture::IsStaging() const |
| 221 | { |