| 318 | } |
| 319 | |
| 320 | void Buffer::Transition(ID3D12GraphicsCommandList* cmdList, D3D12_RESOURCE_STATES before, D3D12_RESOURCE_STATES after) const |
| 321 | { |
| 322 | Assert_(Resource != nullptr); |
| 323 | DX12::TransitionResource(cmdList, Resource, before, after); |
| 324 | } |
| 325 | |
| 326 | void Buffer::MakeReadable(ID3D12GraphicsCommandList* cmdList) const |
| 327 | { |
no test coverage detected