753 B
753 B
RenderDocCapture::SetCaptureFilePath
设置 capture 文件路径模板。
void SetCaptureFilePath(const char* path);
行为说明
如果 RenderDoc 尚未加载,当前实现直接返回。否则会把 path 转发给底层 SetCaptureFilePathTemplate。
这个路径通常在抓帧前配置,用于决定生成的 .rdc 文件落到哪里,以及以什么名前缀生成。
参数
path- capture 文件路径模板。
返回值
- 无。
线程语义
- 建议在开始抓帧前完成配置。
示例
XCEngine::Debug::RenderDocCapture::Get().SetCaptureFilePath(".\\triangle_frame30");