MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / onFrameRender

Method onFrameRender

Source/Tools/RenderGraphEditor/RenderGraphEditor.cpp:507–512  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

505}
506
507void RenderGraphEditor::onFrameRender(RenderContext* pRenderContext, const ref<Fbo>& pTargetFbo)
508{
509 const float4 clearColor(0.25, 0.25, 0.25, 1);
510 pRenderContext->clearFbo(pTargetFbo.get(), clearColor, 1.0f, 0, FboAttachmentType::All);
511 mRenderGraphUIs[mCurrentGraphIndex].updateGraph(pRenderContext);
512}
513
514void RenderGraphEditor::onResize(uint32_t width, uint32_t height)
515{

Callers

nothing calls this directly

Calls 3

clearFboMethod · 0.80
updateGraphMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected