private void GenerateDefaultFontAtlas()
        {
            FontCollection fontCollection = new FontCollection();

            using MemoryStream stream = new MemoryStream(Resources.Helvetica);
            FontFamily builtinFont = fontCollection.Install(stream);

            DefaultFontAtlas = new FontAtlas(builtinFont, 128);
            currentFontAtlas = DefaultFontAtlas;
            textShader       = Shader.FromSource(this, System.Text.Encoding.Default.GetString(Resources.TextShader));
        }
 protected void SetFont(FontAtlas fontAtlas)
 {
     currentFontAtlas = fontAtlas;
 }