public void RemoveEntity(EnityDesc desc) { if (desc.drawMethod == DrawMethod.FAST_VS) { FastRenderEntities.Remove(desc); } else { StableRenderEntities.Remove(desc); } }
public void AddEntity(EnityDesc desc) { if (desc != null) { if (desc.drawMethod == DrawMethod.FAST_VS) { FastRenderEntities.Add(desc); } else { StableRenderEntities.Add(desc); } } }