Mesh Tab

A mesh tab displays mesh data. Use this tab to view mesh vertex transformations before and after shader processing.

The mesh tab has two areas for displaying data.

Viewer

The viewer shows four different views of the mesh data; these correspond to four different locations in the pipeline.

View Description
1 View the mesh vertices before the vertex shader. The camera is pointed at the center of the object.
2 View the mesh vertices after the vertex shader. The camera is pointed at the center of the object.
3 View the mesh vertices after the geometry shader. The camera is pointed at the center of the object. If there is no geometry shader assigned, this view is blank (a solid shade of light gray).
4 View the mesh vertices in screen space. The camera is set up identical to the camera in the target program.

Vertex Data Tabs

The vertices in the mesh can be viewed in the following tabs.

Create a Mesh Tab

The mesh tab is automatically created when an experiment runs on a target program that contains a mesh. To initialize the mesh tab:

  1. Select a frame to display.
  2. Select an event within the frame that contains a draw call. Use the draw button in the event view to navigate between draw calls.
  3. Click on the mesh tab.

Debug a Vertex Shader

The vertex shader debugger is launched from the mesh tab. To debug a vertex shader, you must first choose the pipeline location that you want to view, and select the appropriate vertex data tab.

  1. Select a frame to display.
  2. Select an event within the frame that contains a draw call. Use the draw button in the event view to navigate between draw calls.
  3. Click on the mesh tab.
  4. Click on the PostVS tab to see the results of the vertex shader.
  5. Choose a vertex, and click on the vertex index in the VTX column. This will launch the shader debugger.

See Also

Details View