public void AddRenderableLayer(FRenderableLayerInterface renderableLayer)
 {
     _allRenderables.Add(renderableLayer);
     if(_topLayer != null)
     {
         _topLayer.Close();
         _topLayer = null;
     }
 }
Esempio n. 2
0
 //添加可渲染层级
 public void AddRenderableLayer(FRenderableLayerInterface renderableLayer)
 {
     _allRenderables.Add(renderableLayer);
     if (_topLayer != null)
     {
         _topLayer.Close();
         _topLayer = null;
     }
 }