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

Method OnCaptureLoaded

qrenderdoc/Windows/BufferViewer.cpp:3275–3291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3273}
3274
3275void BufferViewer::OnCaptureLoaded()
3276{
3277 Reset();
3278
3279 if(!m_MeshView)
3280 return;
3281
3282 WindowingData winData = ui->render->GetWidgetWindowingData();
3283
3284 m_Ctx.Replay().BlockInvoke([winData, this](IReplayController *r) {
3285 m_Output = r->CreateOutput(winData, ReplayOutputType::Mesh);
3286
3287 ui->render->SetOutput(m_Output);
3288
3289 RT_UpdateAndDisplay(r);
3290 });
3291}
3292
3293void BufferViewer::OnCaptureClosed()
3294{

Callers

nothing calls this directly

Calls 5

BlockInvokeMethod · 0.80
CreateOutputMethod · 0.80
ResetFunction · 0.50
SetOutputMethod · 0.45

Tested by

no test coverage detected