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

Method OnSelectedEventChanged

qrenderdoc/Widgets/AnnotationDisplay.cpp:115–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115void AnnotationDisplay::OnSelectedEventChanged(uint32_t eventId)
116{
117 APIEvent ev = m_Ctx.GetEventBrowser()->GetAPIEventForEID(eventId);
118
119 setAnnotationObject(ev.annotations);
120}
121
122bool AnnotationDisplay::shouldBeDisplayed(const SDObject &obj)
123{

Callers

nothing calls this directly

Calls 2

GetAPIEventForEIDMethod · 0.80
GetEventBrowserMethod · 0.45

Tested by

no test coverage detected