| 79 | } |
| 80 | |
| 81 | void D3D11Renderer::SaveTextureToFile( |
| 82 | SHM::IPCClientTexture* texture, |
| 83 | const std::filesystem::path& path) { |
| 84 | check_hresult(DirectX::SaveDDSTextureToFile( |
| 85 | mD3D11ImmediateContext.get(), |
| 86 | reinterpret_cast<SHM::D3D11::Texture*>(texture)->GetD3D11Texture(), |
| 87 | path.wstring().c_str())); |
| 88 | } |
| 89 | |
| 90 | }// namespace OpenKneeboard::Viewer |
nothing calls this directly
no test coverage detected