Esempio n. 1
0
 public void Initialize()
 {
     for (int index = 0; index < _counterQueues.Length; index++)
     {
         CounterType type = (CounterType)index;
         _counterQueues[index] = new CounterQueue(type);
     }
 }
Esempio n. 2
0
        public CounterQueueEvent(CounterQueue queue, QueryTarget type)
        {
            _queue = queue;

            _counter = queue.GetQueryObject();
            Type     = type;

            _counter.Begin();
        }
Esempio n. 3
0
        public CounterQueueEvent(CounterQueue queue, QueryTarget type, ulong drawIndex)
        {
            _queue = queue;

            _counter = queue.GetQueryObject();
            Type     = type;

            DrawIndex = drawIndex;

            _counter.Begin();
        }