Show Wireframe

Use the Show Wireframe override mode for visual debugging or to visualize a high concentration of geometry primitives in the scene.

This override can help you identify how many redundant geometry items are drawn to the scene. The override is different from other override modes, because it is not used to determine whether the game performance improves; however, it can help you understand how to improve performance.

Normal Picture

Show Wireframe

For example, through visual inspection you might see that you are rendering a large number of very small graphics primitives, which is relatively expensive compared to the level of detail that they provide in the scene. Also, visual inspection might highlight unintended primitives being rendered. If either situation is true, consider using a bump map, texture map, and/or other level-of-detail optimizations to improve the rendering speed of the application. However, it is possible that some other item, such as a very complex pixel shader, is causing the slowdown. In this case, you may need to analyze your scene with other override modes to better understand your performance bottlenecks.

For more complete information about compiler optimizations, see our Optimization Notice.