module charge.gfx.counters
Graphics

GPU profiling counters.

Code Map

//! GPU profiling counters.
module charge.gfx.counters;


class Counters
{
public:
	names: string[];
	samples: math.Average[];
	timers: Timer[];


public:
	this(names: string[]) { }
	fn close() { }
	fn start(n: size_t) { }
	fn stop(n: size_t) { }
	fn print(sink: scope (Sink)) { }
}

//! Closes and sets reference to null.
fn destroy(obj: Counters) { }
fn destroy(obj: Counters)

Closes and sets reference to null.