| 252 | } |
| 253 | |
| 254 | void SaveTextureAsEXR(ID3D11ShaderResourceView* srv, const wchar* filePath) |
| 255 | { |
| 256 | ID3D11DevicePtr device; |
| 257 | srv->GetDevice(&device); |
| 258 | |
| 259 | TextureData<Float4> textureData; |
| 260 | GetTextureData(device, srv, textureData); |
| 261 | |
| 262 | SaveTextureAsEXR(textureData, filePath); |
| 263 | } |
| 264 | |
| 265 | void SaveTextureAsEXR(const TextureData<Float4>& texture, const wchar* filePath) |
| 266 | { |
no test coverage detected