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

Method SetActiveWindow

renderdoc/core/core.cpp:1129–1142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1127}
1128
1129void RenderDoc::SetActiveWindow(DeviceOwnedWindow devWnd)
1130{
1131 SCOPED_LOCK(m_CapturerListLock);
1132
1133 auto it = m_WindowFrameCapturers.find(devWnd);
1134 if(it == m_WindowFrameCapturers.end())
1135 {
1136 RDCERR("Couldn't find frame capturer for device %p window %p", devWnd.device,
1137 devWnd.windowHandle);
1138 return;
1139 }
1140
1141 m_ActiveWindow = devWnd;
1142}
1143
1144void RenderDoc::SetCaptureTitle(const rdcstr &title)
1145{

Callers 2

SetActiveWindowFunction · 0.80
StartFrameCaptureFunction · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected