| 3273 | } |
| 3274 | |
| 3275 | void 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 | |
| 3293 | void BufferViewer::OnCaptureClosed() |
| 3294 | { |
nothing calls this directly
no test coverage detected