MCPcopy Create free account
hub / github.com/JRickey/BattleShip / portRenderDocOnFrame

Function portRenderDocOnFrame

port/renderdoc_trigger.cpp:198–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198extern "C" void portRenderDocOnFrame(unsigned int frame_count)
199{
200 if (sRdocApi == nullptr) {
201 return;
202 }
203
204 const bool match = sCaptureAll || (sCaptureFrames.count(frame_count) > 0);
205 if (!match) {
206 return;
207 }
208
209 sRdocApi->TriggerCapture();
210 port_log("SSB64: RenderDoc TriggerCapture at frame %u\n", frame_count);
211}
212
213extern "C" void portRenderDocShutdown(void)
214{

Callers 1

PortPushFrameFunction · 0.85

Calls 1

port_logFunction · 0.85

Tested by

no test coverage detected