Fix qrenderdoc examples for latest API

This commit is contained in:
baldurk committed 2020-01-10 14:59:11 +00:00
1 parent 259f948fdc
commit b450b3ff29
3 files changed
+9 -8

No files matched your search

@@ -10,7 +10,7 @@ First the code opens a specified file, although this step could be omitted if th
filename = "test.rdc"
pyrenderdoc.LoadCapture(filename, filename, False, True)
pyrenderdoc.LoadCapture(filename, renderdoc.ReplayOptions(), filename, False, True)
Next we iterate through the list of buffers to find the one we want. The selection criteria are up to you, in this case we look at the name provided and identify the buffer by that, however it could also be a particular size, or the buffer bound at a given event.
@@ -47,4 +47,4 @@ Example Source
:download:`Download the example script <show_buffer.py>`.
.. literalinclude:: show_buffer.py
.. literalinclude:: show_buffer.py