MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / GetOutputView

Method GetOutputView

Source/Engine/Graphics/RenderTask.cpp:376–383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

374}
375
376GPUTextureView* 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
385void SceneRenderTask::OnBegin(GPUContext* context)
386{

Callers 5

RenderLightBufferFunction · 0.80
RenderInnerFunction · 0.80
DrawMethod · 0.80
OnPostRenderMethod · 0.80
DrawMethod · 0.80

Calls 3

IsAllocatedMethod · 0.80
ViewMethod · 0.45
GetBackBufferViewMethod · 0.45

Tested by

no test coverage detected