| 136 | } |
| 137 | |
| 138 | GPUTextureDescription GPUTextureDescription::ToStagingReadback() const |
| 139 | { |
| 140 | auto copy = *this; |
| 141 | copy.Flags = GPUTextureFlags::None; |
| 142 | copy.Usage = GPUResourceUsage::StagingReadback; |
| 143 | return copy; |
| 144 | } |
| 145 | |
| 146 | GPUTextureDescription GPUTextureDescription::ToStaging() const |
| 147 | { |
nothing calls this directly
no test coverage detected