Reference (Programmatic Capture)

 

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

Graphics Diagnostics supports programmatic control over its capture features, through the programmatic capture API. You can use this API to toggle and add messages to the graphics diagnostics HUD (Head-Up Display), initialize and create graphics log files, and capture graphics information.

Classes

NameDescription
VsgDbg ClassRepresents the interface through which the in-app component of graphics diagnostics is controlled programmatically.

Preprocessor Symbols

NameDescription
DONT_SAVE_VSGLOG_TO_TEMPDefines by its presence whether the graphics log file is saved to the user's temporary files directory.
VSG_DEFAULT_RUN_FILENAMEDefines the default file name of the graphics log file.
VSG_NODEFAULT_INSTANCEDefines by its presence whether a default instance of the VsgDbg class is provided.
TitleDescription
Capturing Graphics InformationShows how to capture graphics information from your DirectX-based app so that you can use Visual Studio Graphics Diagnostics tools to diagnose rendering problems.
OverviewShows how Graphics Diagnostics can help you debug rendering errors in DirectX games and apps.
Show: