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

Method SelectEvent

qrenderdoc/Windows/EventBrowser.cpp:5828–5842  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5826}
5827
5828bool EventBrowser::SelectEvent(uint32_t eventId)
5829{
5830 if(!m_Ctx.IsCaptureLoaded())
5831 return false;
5832
5833 QModelIndex found = m_FilterModel->mapFromSource(m_Model->GetIndexForEID(eventId));
5834 if(found.isValid())
5835 {
5836 SelectEvent(found);
5837
5838 return true;
5839 }
5840
5841 return false;
5842}
5843
5844void EventBrowser::SelectEvent(QModelIndex idx)
5845{

Callers

nothing calls this directly

Calls 4

GetIndexForEIDMethod · 0.80
IsCaptureLoadedMethod · 0.45
mapFromSourceMethod · 0.45
isValidMethod · 0.45

Tested by

no test coverage detected