Beispiel #1
0
 internal static void OnSessionEnd()
 {
     IdIndex.Clear();
     EntityDecals.Clear();
     Decals.Clear();
     Materials.Clear();
 }
Beispiel #2
0
        internal static void OnSessionEnd()
        {
            PointlightsBvh.Clear();
            SpotlightsBvh.Clear();
            IdIndex.Clear();
            Lights.Clear();

            DirtyPointlights.Clear();
            DirtySpotlights.Clear();
        }
        internal static void OnSessionEnd()
        {
            MergableRKs.Clear();
            MaterialQueryResourcesTable.Clear();
            MaterialRkIndex.Clear();
            MaterialsPool.Clear();
            MaterialProxyIndex.Clear();

            CreateCommonMaterials();
        }
Beispiel #4
0
 internal static void Init()
 {
     m_emitters.Clear();
     m_idIndex.Clear();
     m_textureArrayIndices.Clear();
     m_freeBufferIndices = new Queue <int>();
     for (int i = 0; i < MAX_LIVE_EMITTERS; i++)
     {
         m_freeBufferIndices.Enqueue(i);
     }
     m_totalParticles = 0;
 }
 internal static void OnSessionEnd()
 {
     ProxyPool.Clear();
 }