internal static void OnSessionEnd() { IdIndex.Clear(); EntityDecals.Clear(); Decals.Clear(); Materials.Clear(); }
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(); }
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(); }