找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 4264|回复: 0

[文档] Mr.doob的stats.as,检测内存,FPS等。

[复制链接]
发表于 2009-12-9 10:42:25 | 显示全部楼层 |阅读模式
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 is VERY wrong.
MAX Maximum memory the application reached.


下载:
http://mrdoob.googlecode.com/svn ... ires/debug/Stats.as

使用方法:import 之后,addChild( new Stats() );添加到最后你想显示的地方。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|幻想森林

GMT+8, 2026-10-30 21:40 , Processed in 0.011271 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表