Debug Panel: <debug>
XML location & structure
<cu3er>
<settings>
<debug />
</settings>
</cu3er>
Overview
Including this node will enable impressive Mr.DOOB stats - performance & memory monitoring interface to spot performance problems and to detect places where you may optimize the CU3ER. During the development stage, the CU3ER performance monitoring is highly recommended!
- FPS Frames per second, how many frames were rendered in 1 second, the bigger the better.
- MS Milliseconds needed to render a frame, the lower the better.
- MEM Memory your code is using, if it increases per frame then it’s VERY bad.
- MAX Maximum memory the application reached.
More about Mr.DOOB stats on http://code.google.com/p/mrdoob/wiki/stats.
Available attributes:
- x - horizontal position
- y - vertical position
<debug x="10" y="10" />
XML Reference
| Attribute | Default Value | Type | description |
|---|---|---|---|
| x | 0 | Number | x position of debug/stats panel |
| y | 0 | Number | y position of debug/stats panel |