mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-23 10:20:50 +00:00
Fix python example for API change
This commit is contained in:
@@ -50,7 +50,7 @@ def sampleCode(controller):
|
||||
print("Pixel shader:")
|
||||
print(controller.DisassembleShader(pipe, ps, target))
|
||||
|
||||
cbufferVars = controller.GetCBufferVariableContents(pipe, ps.resourceId, entry, 0, cb.resourceId, 0, 0)
|
||||
cbufferVars = controller.GetCBufferVariableContents(pipe, ps.resourceId, rd.ShaderStage.Pixel, entry, 0, cb.resourceId, 0, 0)
|
||||
|
||||
for v in cbufferVars:
|
||||
printVar(v)
|
||||
|
||||
Reference in New Issue
Block a user