| 224 | } |
| 225 | |
| 226 | void SwapChain::EndFrame() |
| 227 | { |
| 228 | // Indicate that the back buffer will now be used to present. |
| 229 | DX12::TransitionResource(DX12::CmdList, backBuffers[backBufferIdx].Texture.Resource, D3D12_RESOURCE_STATE_RENDER_TARGET, D3D12_RESOURCE_STATE_PRESENT); |
| 230 | } |
| 231 | |
| 232 | } |
nothing calls this directly
no test coverage detected