| 211 | } |
| 212 | |
| 213 | void SwapChain::EndFrame() |
| 214 | { |
| 215 | // Indicate that the back buffer will now be used to present. |
| 216 | DX12::TransitionResource(DX12::CmdList, backBuffers[backBufferIdx].Texture.Resource, D3D12_RESOURCE_STATE_RENDER_TARGET, D3D12_RESOURCE_STATE_PRESENT); |
| 217 | } |
| 218 | |
| 219 | } |
nothing calls this directly
no test coverage detected