Main state changed to reflect font rendering capability.

This commit is contained in:
Harrison Deng 2020-07-04 00:39:40 -05:00
parent fbda9b912f
commit 0e3f1dfef3

View File

@ -88,8 +88,7 @@ namespace SlatedGameToolkit.Tools.Utilities.Playground
renderer.Draw(logo); renderer.Draw(logo);
renderer.Draw(textureTester); renderer.Draw(textureTester);
renderer.Draw(untextured); renderer.Draw(untextured);
font.Draw(renderer, 0.25f, -0.35f, "Hello World.", Color.White); font.Draw(renderer, 0.25f, -0.35f, "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890", Color.White);
renderer.Draw(new RectangleMesh(new RectangleF(-1, -1, 0.5f, 0.5f), new RectangleF(0, 1, 1, -1), font.GetTextureBacking(0), Color.White));
renderer.End(); renderer.End();
} }