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

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

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

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

            DrawIndex = drawIndex;

            _counter.Begin();
        }