public CounterQueueEvent(CounterQueue queue, QueryTarget type) { _queue = queue; _counter = queue.GetQueryObject(); Type = type; _counter.Begin(); }
public CounterQueueEvent(CounterQueue queue, QueryTarget type, ulong drawIndex) { _queue = queue; _counter = queue.GetQueryObject(); Type = type; DrawIndex = drawIndex; _counter.Begin(); }