2b7f142b2db859653ba81f895da8652ead3ecf5d
[platform/core/uifw/dali-toolkit.git] / docs / content / shared-javascript-and-cpp-documentation / debug-visual.md
1 <!--
2 /**-->
3
4 # Debug Renderer {#debugvisual}
5
6 ## Enable debug rendering
7
8 Setting DALI_DEBUG_RENDERING environment variable will enable the renderer debuging.
9
10 Then, every concrete visual ( ColorVisual, BorderVisual, ImageVisual, GradientVisual, etc. ) is replaced with a DebugVisual object.
11 Debug visual renders a simple quad wireframe, so that the control layout and scene structure is clearly displayed.
12
13 ### Example:
14 ~~~{.bash}
15 sh-4.1$ DALI_DEBUG_RENDERING=1 /usr/apps/com.samsung.dali-demo/bin/blocks.example
16 ~~~
17
18 ![ ](../assets/img/debug-visual/debug-blocks.png)
19 ![ ](debug-blocks.png)
20
21