示例#1
0
 /// <summary>
 /// Adds 2 Nubs to the window title that inspects the fps and draw calls.
 /// </summary>
 public void Inspect()
 {
     Nubs.Add(FpsNub);
     Nubs.Add(DrawCallNub);
 }
示例#2
0
 public void Add(IRenderable component)
 {
     _components.Add(component);
     AddToRenderLayerList(component, component.RenderLayer);
 }
示例#3
0
 protected void AddDefaultSystems()
 {
     UpdateSystems.Add(DefaultUpdateStack());
     RenderSystems.Add(DefaultRenderStack());
 }