Beispiel #1
0
 public static RenderPanel Add(IDrawableBuffer buffer)
 {
     if (_curRenderPanel != null){
         _curRenderPanel._buffers.Add(buffer);
     }
     else{
         throw new Exception("no render panel bound");
     }
     return _curRenderPanel;
 }
Beispiel #2
0
 public void Remove(IDrawableBuffer buffer)
 {
     _buffers.Remove(buffer);
 }