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

Function StartFrameCapture

renderdoc/replay/app_api.cpp:216–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214}
215
216static void StartFrameCapture(void *device, void *wndHandle)
217{
218 DeviceOwnedWindow devWnd(device, wndHandle);
219
220 RenderDoc::Inst().StartFrameCapture(devWnd);
221
222 if(devWnd.device == NULL || devWnd.windowHandle == NULL)
223 RenderDoc::Inst().MatchClosestWindow(devWnd);
224
225 if(devWnd.device != NULL && devWnd.windowHandle != NULL)
226 RenderDoc::Inst().SetActiveWindow(devWnd);
227}
228
229static uint32_t IsFrameCapturing()
230{

Callers

nothing calls this directly

Calls 3

MatchClosestWindowMethod · 0.80
SetActiveWindowMethod · 0.80
StartFrameCaptureMethod · 0.45

Tested by

no test coverage detected