Beispiel #1
0
        /// <summary>
        /// Send complete textures to GPU<para/>
        /// Отправка готовых архивов на GPU
        /// </summary>
        public static void SendComplete()
        {
            int SendQuota = 4;

            while (ReadyTextureQueue.Count > 0)
            {
                if (SendQuota == 0)
                {
                    break;
                }
                TextureDictionary td = null;
                if (ReadyTextureQueue.TryDequeue(out td))
                {
                    td.SendTextures();
                }
                SendQuota--;
            }
        }