mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-15 02:11:22 +00:00
Add API to set which keys trigger cap etc in-program
* Not exposed in the UI to be able to configured just yet, but it can be set by a program that's renderdoc-aware.
This commit is contained in:
1 parent
599a182c30
commit
69fec43309
8 files changed
+264
-37
No files matched your search
@@ -261,6 +261,18 @@ void RENDERDOC_CC RENDERDOC_MaskOverlayBits(uint32_t And, uint32_t Or)
|
||||
RenderDoc::Inst().MaskOverlayBits(And, Or);
|
||||
}
|
||||
|
||||
extern "C" RENDERDOC_API
|
||||
void RENDERDOC_CC RENDERDOC_SetFocusToggleKeys(KeyButton *keys, int num)
|
||||
{
|
||||
RenderDoc::Inst().SetFocusKeys(keys, num);
|
||||
}
|
||||
|
||||
extern "C" RENDERDOC_API
|
||||
void RENDERDOC_CC RENDERDOC_SetCaptureKeys(KeyButton *keys, int num)
|
||||
{
|
||||
RenderDoc::Inst().SetCaptureKeys(keys, num);
|
||||
}
|
||||
|
||||
extern "C" RENDERDOC_API
|
||||
void RENDERDOC_CC RENDERDOC_QueueCapture(uint32_t frameNumber)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user