protected override void Draw(GiaScene context, Batcher batcher, Entity entity, ref AABB bounds) { ref var text = ref entity.Get <Text>();
string DrawCallNub(GiaScene context) { return($"{Core.DrawCalls} Draws"); }
protected override void DebugDraw(GiaScene context, Batcher batcher, Entity entity, ref AABB bounds) { Gia.Debug.DeferWorldHollowRect(bounds.Bounds, Color.Orange); Gia.Debug.DeferWorldPixel(bounds.Bounds.Location, Color.Orange, 4); }
string FpsNub(GiaScene context) { return(((int)(1f / Time.UnscaledDeltaTime)).ToString() + " FPS"); }