コード例 #1
0
        public static Glyph Find(Glyph.Name name, int key)
        {
            GlyphManager texManInst = GlyphManager.getSingleton();

            Debug.Assert(texManInst != null);
            Glyph pseudoTex = texManInst.refGlyph;

            Debug.Assert(pseudoTex != null);

            pseudoTex.glyphName = name;
            pseudoTex.key       = key;

            Glyph targetTex = (Glyph)texManInst.genericFind(pseudoTex);

            return(targetTex);
        }