Fetch structured file on capture load so it's available persistently

This commit is contained in:
baldurk
2017-11-17 16:30:50 +00:00
parent 3ac3e6c3f1
commit 152abc501a
5 changed files with 62 additions and 44 deletions
+8 -1
View File
@@ -1054,6 +1054,13 @@ more information for how this differs.
)");
virtual const DrawcallDescription *GetDrawcall(uint32_t eventID) = 0;
DOCUMENT(R"(Retrieve the :class:`~renderdoc.SDFile` for the currently open capture.
:return: The structured file.
:rtype: ~renderdoc.SDFile
)");
virtual const SDFile &GetStructuredFile() = 0;
DOCUMENT(R"(Retrieve the current windowing system in use.
:return: The active windowing system.
@@ -1127,7 +1134,7 @@ as well as messages generated during replay and analysis.
)");
virtual ITextureViewer *GetTextureViewer() = 0;
DOCUMENT(R"(Retrieve the current singleton :class:`BufferViewer`.
DOCUMENT(R"(Retrieve the current singleton :class:`BufferViewer` configured for mesh viewing.
:return: The current window, which is created (but not shown) it there wasn't one open.
:rtype: BufferViewer