mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-13 13:30:44 +00:00
Fix qrenderdoc examples for latest API
This commit is contained in:
@@ -22,7 +22,7 @@ To load a capture programmatically, we can use the ``pyrenderdoc`` global variab
|
||||
filename = 'test.rdc'
|
||||
|
||||
# Load a file, with the same 'original' name, that's not temporary, and is local
|
||||
pyrenderdoc.LoadCapture(filename, filename, False, True)
|
||||
pyrenderdoc.LoadCapture(filename, renderdoc.ReplayOptions(), filename, False, True)
|
||||
|
||||
This will close any capture that is already loaded, but to just close an open capture you can use :py:meth:`~qrenderdoc.CaptureContext.CloseCapture`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user