Example #1
0
 protected override void Draw(GiaScene context, Batcher batcher, Entity entity, ref AABB bounds)
 {
     ref var text = ref entity.Get <Text>();
Example #2
0
 string DrawCallNub(GiaScene context)
 {
     return($"{Core.DrawCalls} Draws");
 }
Example #3
0
 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);
 }
Example #4
0
 string FpsNub(GiaScene context)
 {
     return(((int)(1f / Time.UnscaledDeltaTime)).ToString() + " FPS");
 }