mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-12 17:51:02 +00:00
Add ReplayOptions struct to contain replay-time configuration
* Not currently exposed to the UI or used by the drivers, we just pass the default object through
This commit is contained in:
@@ -1083,13 +1083,14 @@ data.
|
||||
DOCUMENT(R"(Open a capture file for replay.
|
||||
|
||||
:param str captureFile: The actual path to the capture file.
|
||||
:param ReplayOptions opts: The options controlling how the capture should be replayed.
|
||||
:param str origFilename: The original filename, if the capture was copied remotely for replay.
|
||||
:param bool temporary: ``True`` if this is a temporary capture which should prompt the user for
|
||||
either save or delete on close.
|
||||
:param bool local: ``True`` if ``captureFile`` refers to a file on the local machine.
|
||||
)");
|
||||
virtual void LoadCapture(const rdcstr &captureFile, const rdcstr &origFilename, bool temporary,
|
||||
bool local) = 0;
|
||||
virtual void LoadCapture(const rdcstr &captureFile, const ReplayOptions &opts,
|
||||
const rdcstr &origFilename, bool temporary, bool local) = 0;
|
||||
|
||||
DOCUMENT(R"(Saves the current capture file to a given path.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user