Show Wireframe

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

Show Wireframe can help you identify how many redundant geometry items are drawn to the scene. This override is different from other override modes, because it can help you understand how you can improve performance rather than to determine whether game performance improves.

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. Visual inspection might also highlight unintended primitives being rendered. If either of these is the case, 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.