| 196 | } |
| 197 | |
| 198 | extern "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 | |
| 213 | extern "C" void portRenderDocShutdown(void) |
| 214 | { |
no test coverage detected