Constructor

new(parent:Object)

Variables

@:value(180.)height:Float = 180.

@:value(1000 / 20)maxDtMs:Float = 1000 / 20

@:value(90.)maxFps:Float = 90.

maxFps will be set automatically to *2 or /2. Default value is chosen for 30FPS(45), 60FPS(90), 144FPS(180)

@:value(200)maxFrameCount:Int = 200

@:value(true)showCpu:Bool = true

@:value(true)showGpu:Bool = true

@:value(400.)width:Float = 400.

Methods

begin():Void

Call at the begining of a hxd.App's update for CPU/GPU time

dispose():Void

end():Void

Call at the end of a hxd.App's render for CPU/GPU time

inlinesetPosition(x:Float, y:Float):Void

update(dt:Float):Void