예제 #1
0
        public void OnCompleted(OpenGLCommandEntryList entryList)
        {
            lock (_lock)
            {
                entryList.Reset();

                Debug.Assert(!_availableLists.Contains(entryList));
                _availableLists.Add(entryList);

                Debug.Assert(_submittedLists.Contains(entryList));
                _submittedLists.Remove(entryList);
            }
        }
예제 #2
0
 internal void Reset()
 {
     _currentCommands.Reset();
 }
예제 #3
0
 internal void Reset()
 {
     _commands.Reset();
 }