RenderDoc has an in-application API that can be used to programatically start and end captures. If I understand the documentation correctly, my application needs to have been opened from within RenderDoc for the relevant library to be available to be dynamically loaded.
I want to be able to programatically launch RenderDoc from within my C++/Win32 application and attach my application to it so I can start and end a frame capture.
How can I achieve this?