diff --git a/docs/python_api/examples/renderdoc/decode_mesh.py b/docs/python_api/examples/renderdoc/decode_mesh.py index 3a46434ad..54d77fc52 100644 --- a/docs/python_api/examples/renderdoc/decode_mesh.py +++ b/docs/python_api/examples/renderdoc/decode_mesh.py @@ -265,7 +265,7 @@ def loadCapture(filename): raise RuntimeError("Capture cannot be replayed") # Initialise the replay - status,controller = cap.OpenCapture(None) + status,controller = cap.OpenCapture(rd.ReplayOptions(), None) if status != rd.ReplayStatus.Succeeded: raise RuntimeError("Couldn't initialise replay: " + str(status)) diff --git a/docs/python_api/examples/renderdoc/display_window.py b/docs/python_api/examples/renderdoc/display_window.py index e38ece785..46a183fcc 100644 --- a/docs/python_api/examples/renderdoc/display_window.py +++ b/docs/python_api/examples/renderdoc/display_window.py @@ -23,7 +23,7 @@ def loadCapture(filename): raise RuntimeError("Capture cannot be replayed") # Initialise the replay - status,controller = cap.OpenCapture(None) + status,controller = cap.OpenCapture(rd.ReplayOptions(), None) if status != rd.ReplayStatus.Succeeded: raise RuntimeError("Couldn't initialise replay: " + str(status)) diff --git a/docs/python_api/examples/renderdoc/fetch_counters.py b/docs/python_api/examples/renderdoc/fetch_counters.py index db4d4dfda..f1511e26f 100644 --- a/docs/python_api/examples/renderdoc/fetch_counters.py +++ b/docs/python_api/examples/renderdoc/fetch_counters.py @@ -80,7 +80,7 @@ def loadCapture(filename): raise RuntimeError("Capture cannot be replayed") # Initialise the replay - status,controller = cap.OpenCapture(None) + status,controller = cap.OpenCapture(rd.ReplayOptions(), None) if status != rd.ReplayStatus.Succeeded: raise RuntimeError("Couldn't initialise replay: " + str(status)) diff --git a/docs/python_api/examples/renderdoc/fetch_shader.py b/docs/python_api/examples/renderdoc/fetch_shader.py index be3b87cd0..38c145ae0 100644 --- a/docs/python_api/examples/renderdoc/fetch_shader.py +++ b/docs/python_api/examples/renderdoc/fetch_shader.py @@ -71,7 +71,7 @@ def loadCapture(filename): raise RuntimeError("Capture cannot be replayed") # Initialise the replay - status,controller = cap.OpenCapture(None) + status,controller = cap.OpenCapture(rd.ReplayOptions(), None) if status != rd.ReplayStatus.Succeeded: raise RuntimeError("Couldn't initialise replay: " + str(status)) diff --git a/docs/python_api/examples/renderdoc/iter_draws.py b/docs/python_api/examples/renderdoc/iter_draws.py index 532f3efb6..a97c476ef 100644 --- a/docs/python_api/examples/renderdoc/iter_draws.py +++ b/docs/python_api/examples/renderdoc/iter_draws.py @@ -74,7 +74,7 @@ def loadCapture(filename): raise RuntimeError("Capture cannot be replayed") # Initialise the replay - status,controller = cap.OpenCapture(None) + status,controller = cap.OpenCapture(rd.ReplayOptions(), None) if status != rd.ReplayStatus.Succeeded: raise RuntimeError("Couldn't initialise replay: " + str(status)) diff --git a/docs/python_api/examples/renderdoc/remote_capture.py b/docs/python_api/examples/renderdoc/remote_capture.py index eb7f75069..94add438a 100644 --- a/docs/python_api/examples/renderdoc/remote_capture.py +++ b/docs/python_api/examples/renderdoc/remote_capture.py @@ -169,7 +169,7 @@ print(f"Got new capture at {cap_path} which is frame {msg.newCapture.frameNumber # # The path must be remote - if the capture isn't freshly created then you need # to copy it with remote.CopyCaptureToRemote() -status,controller = remote.OpenCapture(rd.RemoteServer.NoPreference, cap_path, None) +status,controller = remote.OpenCapture(rd.RemoteServer.NoPreference, cap_path, rd.ReplayOptions(), None) if status != rd.ReplayStatus.Succeeded: remote.ShutdownServerAndConnection() diff --git a/docs/python_api/examples/renderdoc/save_texture.py b/docs/python_api/examples/renderdoc/save_texture.py index ee3a47ac8..d5f3bd710 100644 --- a/docs/python_api/examples/renderdoc/save_texture.py +++ b/docs/python_api/examples/renderdoc/save_texture.py @@ -89,7 +89,7 @@ def loadCapture(filename): raise RuntimeError("Capture cannot be replayed") # Initialise the replay - status,controller = cap.OpenCapture(None) + status,controller = cap.OpenCapture(rd.ReplayOptions(), None) if status != rd.ReplayStatus.Succeeded: raise RuntimeError("Couldn't initialise replay: " + str(status)) diff --git a/docs/python_api/examples/renderdoc_intro.py b/docs/python_api/examples/renderdoc_intro.py index d1e077791..bf2a6e0a5 100644 --- a/docs/python_api/examples/renderdoc_intro.py +++ b/docs/python_api/examples/renderdoc_intro.py @@ -15,7 +15,7 @@ if not cap.LocalReplaySupport(): raise RuntimeError("Capture cannot be replayed") # Initialise the replay -status,controller = cap.OpenCapture(None) +status,controller = cap.OpenCapture(rd.ReplayOptions(), None) if status != rd.ReplayStatus.Succeeded: raise RuntimeError("Couldn't initialise replay: " + str(status)) diff --git a/docs/python_api/examples/renderdoc_intro.rst b/docs/python_api/examples/renderdoc_intro.rst index f65248436..57195f50a 100644 --- a/docs/python_api/examples/renderdoc_intro.rst +++ b/docs/python_api/examples/renderdoc_intro.rst @@ -79,7 +79,7 @@ This function call will open the capture and begin to replay it, and initialise .. code:: python # Initialise the replay - status,controller = cap.OpenCapture(None) + status,controller = cap.OpenCapture(rd.ReplayOptions(), None) if status != rd.ReplayStatus.Succeeded: raise RuntimeError("Couldn't initialise replay: " + str(status))