MCPcopy Create free account
hub / github.com/baldurk/renderdoc / SetWidgetReplayOutput

Method SetWidgetReplayOutput

qrenderdoc/Code/MiniQtHelper.cpp:542–551  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

540}
541
542void MiniQtHelper::SetWidgetReplayOutput(QWidget *widget, IReplayOutput *output)
543{
544 if(!widget)
545 return;
546
547 CustomPaintWidget *paintWidget = qobject_cast<CustomPaintWidget *>(widget);
548
549 if(paintWidget)
550 paintWidget->SetOutput(output);
551}
552
553void MiniQtHelper::SetWidgetBackgroundColor(QWidget *widget, float red, float green, float blue)
554{

Callers

nothing calls this directly

Calls 1

SetOutputMethod · 0.45

Tested by

no test coverage detected