| 128 | } |
| 129 | |
| 130 | GPUTextureDescription GPUTextureDescription::ToStagingUpload() const |
| 131 | { |
| 132 | auto copy = *this; |
| 133 | copy.Flags = GPUTextureFlags::None; |
| 134 | copy.Usage = GPUResourceUsage::StagingUpload; |
| 135 | return copy; |
| 136 | } |
| 137 | |
| 138 | GPUTextureDescription GPUTextureDescription::ToStagingReadback() const |
| 139 | { |
nothing calls this directly
no test coverage detected