Files
XCEngine/engine/tools/renderdoc_parser/__init__.py

57 lines
1.2 KiB
Python
Raw Normal View History

"""renderdoc: Direct-call interface for RenderDoc capture analysis.
Usage:
from renderdoc import open_capture, get_capture_info, get_draw_call_state
open_capture("frame.rdc")
info = get_capture_info()
state = get_draw_call_state(142)
print(state)
"""
from .session import get_session
from .tools import (
open_capture,
close_capture,
get_capture_info,
get_frame_overview,
list_actions,
get_action,
set_event,
search_actions,
find_draws,
get_pipeline_state,
get_shader_bindings,
get_vertex_inputs,
get_draw_call_state,
list_textures,
list_buffers,
list_resources,
get_resource_usage,
save_texture,
get_buffer_data,
pick_pixel,
get_texture_stats,
read_texture_pixels,
export_draw_textures,
save_render_target,
export_mesh,
disassemble_shader,
get_shader_reflection,
get_cbuffer_contents,
pixel_history,
get_post_vs_data,
diff_draw_calls,
analyze_render_passes,
sample_pixel_region,
debug_shader_at_pixel,
get_pass_timing,
analyze_overdraw,
analyze_bandwidth,
analyze_state_changes,
diagnose_negative_values,
diagnose_precision_issues,
diagnose_reflection_mismatch,
diagnose_mobile_risks,
)