| 1695 | } |
| 1696 | |
| 1697 | bool DX11Engine::CopyGpuToCpu(std::shared_ptr<Buffer> const& buffer) |
| 1698 | { |
| 1699 | if (!buffer->GetData()) |
| 1700 | { |
| 1701 | buffer->CreateStorage(); |
| 1702 | } |
| 1703 | |
| 1704 | DX11Buffer* dxBuffer = static_cast<DX11Buffer*>(Bind(buffer)); |
| 1705 | return dxBuffer->CopyGpuToCpu(mImmediate); |
| 1706 | } |
| 1707 | |
| 1708 | bool DX11Engine::CopyGpuToCpu(std::shared_ptr<TextureSingle> const& texture) |
| 1709 | { |
nothing calls this directly
no test coverage detected