- Convert from MCP protocol layer to direct Python function calls - 42 functions across 9 modules: session, event, pipeline, resource, data, shader, advanced, performance, diagnostic - Requires Python 3.6 (renderdoc.pyd is compiled for Python 3.6) - Fix renderdoc API calls: GetColorBlends, GetStencilFaces, GetViewport(i), GetScissor(i) - Remove Python 3.10+ type annotations for Python 3.6 compatibility - Add README.md with full API documentation - Includes test.py for basic smoke testing
9 lines
237 B
Python
9 lines
237 B
Python
import sys
|
|
|
|
sys.path.insert(0, "engine/tools")
|
|
from renderdoc_parser import open_capture, get_capture_info, get_frame_overview
|
|
|
|
open_capture("engine/tools/renderdoc_parser/test.rdc")
|
|
print(get_capture_info())
|
|
print(get_frame_overview())
|