You are here: Graphics Debugger > Frame Debugging > Direct3D 11 Frame Debugging > API Inspector

API Inspector

NVIDIA® Nsight™ Application Development Environment for Heterogeneous Platforms, Visual Studio Edition 5.2 User Guide
Send Feedback


When using the Frame Debugger feature of NVIDIA Nsight, you may wish to do a deep dive into the API state for specific draw calls in order to analyze your application further.

To use the API Inspector:

  1. Start the Frame Debugger by launching the application and going to Nsight > Pause and Capture Frame.
  2. If not already opened by default, you can open the API Inspector by going to NsightWindowsAPI Inspector or by clicking the link for the action in the Events View.
  3. Along the left side of the view, you can see the Pipeline State Navigator.
  4. From here, you can further inspect the API state for each pipeline stage, including what textures and render targets are bound, or which shaders are in use in the related constants.

Note that if a stage is not active (either there is nothing bound to that stage or it doesn’t apply for the current action) it will be greyed out. You can still click on it to inspect the state. The following table shows the stages that are available for inspection:

Input Assembler (IA)

The Input Assembler page (shown above) shows the details of your vertex buffers and index buffers, the input layout of the vertices.

Shaders (VS, HS, DS, GS, PS, CS)

The various shader pages display all of the constant buffers, shader resource views, and input/output parameters, as well as links to the HLSL source code and other shader information.

In the constant buffer list, you can expand the buffer to see which HLSL variables are mapped to each entry, as well as the current values.

To enable resolution of HLSL variables, you must enable debug info when compiling the shader. Debug info can be enabled by using the /Zi command line option to fxc.exe or setting the D3DCOMPILE_DEBUG flag in the call to D3DCompile.

Stream Output (SO)

This figure shows the resources bound for Stream Output.

Rasterizer State (RS)

The Rasterizer State page displays parameters including culling mode, scissor and viewport rectangles, etc.

Output Merger (OM)

The Output Merger page shows parameters including blending setup, depth, stencil, currently bound render target views, etc.


NVIDIA® Nsight™ Application Development Environment for Heterogeneous Platforms, Visual Studio Edition User Guide Rev. 5.2.161206 ©2009-2016. NVIDIA Corporation. All Rights Reserved.