View source
class Stats
package flixel.system.debug.stats
extends Window › Sprite › DisplayObjectContainer › InteractiveObject › DisplayObject › EventDispatcher
A simple performance monitor widget, for use in the debugger overlay.
Static variables
Constructor
Methods
activeObjects(Count:Int):Void
How many objects were updated.
Parameters:
Count | How many objects were updated. |
---|
drawCalls(Drawcalls:Int):Void
How many times drawTiles() method was called.
Parameters:
Count | How many times drawTiles() method was called. |
---|
update():Void
Called each frame, but really only updates once every second or so, to save on performance. Takes all the data in the accumulators and parses it into useful performance data.
visibleObjects(Count:Int):Void
How many objects were rendered.
Parameters:
Count | How many objects were rendered. |
---|