예제 #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());
 }