예제 #1
0
        public DrawStageBatcher(int initialBatchPoolSize, IDrawStageBatcherTools tools)
        {
            _tools = tools;

            _poolSize = initialBatchPoolSize;
            Pool      = _tools.CreatePoolOfSize(_poolSize, false);
        }
예제 #2
0
 public DrawStageBatcherFactory(IStartupPropertiesCache startUpPropertiesCache, IDrawStageBatcherTools batcherTools)
 {
     _startUpPropertiesCache = startUpPropertiesCache;
     _batcherTools           = batcherTools;
 }