mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Fix custom shader edits to write the exact editor contents to disk
This commit is contained in:
@@ -963,6 +963,14 @@ QWidget.
|
||||
)");
|
||||
virtual void AddWatch(const rdcstr &expression) = 0;
|
||||
|
||||
DOCUMENT(R"(Return the current text of source files within the viewer. Primarily useful for
|
||||
returning any edits applied when editing a shader.
|
||||
|
||||
:return: The current file contents as a list of (filename, contents) pairs.
|
||||
:rtype: List[Tuple[str,str]]
|
||||
)");
|
||||
virtual rdcstrpairs GetCurrentFileContents() = 0;
|
||||
|
||||
protected:
|
||||
IShaderViewer() = default;
|
||||
~IShaderViewer() = default;
|
||||
|
||||
Reference in New Issue
Block a user