mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-10-20 07:55:49 +00:00
Added ability to programmatically capture frame with RenderDoc.
This commit is contained in:
@@ -5020,6 +5020,11 @@ BX_PRAGMA_DIAGNOSTIC_POP();
|
||||
return;
|
||||
}
|
||||
|
||||
if (_render->m_capture)
|
||||
{
|
||||
renderDocTriggerCapture();
|
||||
}
|
||||
|
||||
PIX_BEGINEVENT(D3DCOLOR_RGBA(0xff, 0x00, 0x00, 0xff), L"rendererSubmit");
|
||||
BGFX_GPU_PROFILER_BEGIN_DYNAMIC("rendererSubmit");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user