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