Advertisement
lamiastella

print(pyrenderdoc.GetDrawcalls()[0].events[0].eventDesc)

Mar 28th, 2017
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. print(dir(pyrenderdoc.GetDrawcalls()[0]))
  2. print(pyrenderdoc.GetDrawcalls()[0].events[0].eventDesc)
  3. pyrenderdoc.GetDrawcalls(0)[0].children[1].events[0].eventDesc
  4. ---------------------------------------------------------------------
  5. ['Equals', 'GetColor', 'GetHashCode', 'GetTextColor', 'GetType', 'MemberwiseClone', 'ReferenceEquals', 'ToString', '__class__', '__delattr__', '__doc__', '__format__', '__getattribute__', '__hash__', '__init__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', 'baseVertex', 'children', 'copyDestination', 'copySource', 'depthOut', 'dispatchDimension', 'dispatchThreadsDimension', 'drawcallID', 'eventID', 'events', 'flags', 'indexByteWidth', 'indexOffset', 'instanceOffset', 'markerColour', 'name', 'next', 'nextDrawcall', 'numIndices', 'numInstances', 'outputs', 'parent', 'parentDrawcall', 'previous', 'previousDrawcall', 'topology', 'vertexOffset']
  6. ID3D11DeviceContext::ClearState
  7. {
  8. context: ResID_3
  9. }
  10.  
  11. Traceback (most recent call last):
  12. File "<string>", line 11, in <module>
  13. TypeError: GetDrawcalls() takes no arguments (1 given)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement