mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-15 02:11:22 +00:00
Add a way for UI to pass arbitrary settings strings into the core module
This commit is contained in:
1 parent
d65bacc118
commit
91afc2b391
5 files changed
+81
-1
No files matched your search
@@ -242,6 +242,18 @@ const char* RENDERDOC_CC RENDERDOC_GetVersionString()
|
||||
return RENDERDOC_VERSION_STRING;
|
||||
}
|
||||
|
||||
extern "C" RENDERDOC_API
|
||||
const char* RENDERDOC_CC RENDERDOC_GetConfigSetting(const char *name)
|
||||
{
|
||||
return RenderDoc::Inst().GetConfigSetting(name).c_str();
|
||||
}
|
||||
|
||||
extern "C" RENDERDOC_API
|
||||
void RENDERDOC_CC RENDERDOC_SetConfigSetting(const char *name, const char *value)
|
||||
{
|
||||
RenderDoc::Inst().SetConfigSetting(name, value);
|
||||
}
|
||||
|
||||
extern "C" RENDERDOC_API
|
||||
void RENDERDOC_CC RENDERDOC_LogText(const char *text)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user