| 374 | } |
| 375 | |
| 376 | GPUTextureView* SceneRenderTask::GetOutputView() const |
| 377 | { |
| 378 | if (Output && Output->IsAllocated()) |
| 379 | return Output->View(); |
| 380 | if (SwapChain) |
| 381 | return SwapChain->GetBackBufferView(); |
| 382 | return nullptr; |
| 383 | } |
| 384 | |
| 385 | void SceneRenderTask::OnBegin(GPUContext* context) |
| 386 | { |
no test coverage detected