示例#1
0
        internal static void OnSessionEnd()
        {
            PointlightsBvh.Clear();
            SpotlightsBvh.Clear();
            IdIndex.Clear();
            Lights.Clear();

            DirtyPointlights.Clear();
            DirtySpotlights.Clear();
        }
示例#2
0
        public static void UnloadData()
        {
            // all lights should be deallocated at this point
            MyCommonDebugUtils.AssertDebug(m_preallocatedLights.GetActiveCount() == 0, "MyLights.UnloadData: preallocated lights not emptied!");
            m_preallocatedLights.DeallocateAll();
            if (m_sortedLights != null)
            {
                m_sortedLights.Clear();
                m_sortedLights = null;
            }

            m_tree.Clear();
        }
示例#3
0
 public static void Clear()
 {
     Init();
     m_waypoints.Clear();
     m_others.Clear();
 }
示例#4
0
 public void UnloadData()
 {
     results.Clear();
     lineResults.Clear();
     m_dangerZoneStructure.Clear();
 }