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

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

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

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

            DrawIndex = drawIndex;

            _counter.Begin();
        }