Constructor

@:value({ deltaHistory : 32 })new(deltaHistory:Int = 32)

Variables

@:value(StringTools.replace("\n\t-- FoxLite $0 --\n\trenderContext: $8\n\tdrawCalls: $1\n\ttriangles: $2\n\tstateSwitches: $3\n\tAllocations: $5\n\tframeCount: $4\n\t-------------\n\tCPU FPS: $6\n\tGPU FPS: $7\n\t-------------\n\t$9\n\t", "\r", ""))template:String = StringTools.replace("\n\t-- FoxLite $0 --\n\trenderContext: $8\n\tdrawCalls: $1\n\ttriangles: $2\n\tstateSwitches: $3\n\tAllocations: $5\n\tframeCount: $4\n\t-------------\n\tCPU FPS: $6\n\tGPU FPS: $7\n\t-------------\n\t$9\n\t", "\r", "")

@:value("")extraInfo:String = ""

private@:value(32)HISTORY:Int = 32

private@:value([])cpuDeltas:Array<Float> = []

private@:value([])gpuDeltas:Array<Float> = []

private@:value(0)cpuDeltaIdx:Int = 0

private@:value(0)gpuDeltaIdx:Int = 0

private@:value(0)cpuLastTime:Float = 0

private@:value(0)gpuLastTime:Float = 0

private@:value(new FlxText())text:FlxText = new FlxText()

Methods