コード例 #1
0
        public StringRenderer(IGL owner, Stream xml, params Stream[] textures)
        {
            Owner    = owner;
            FontInfo = new();
            FontInfo.LoadXml(xml);

            // load textures
            for (int i = 0; i < FontInfo.Pages.Length; i++)
            {
                TexturePages.Add(owner.LoadTexture(textures[i]));
            }
        }