Exemplo n.º 1
0
        public static Texture Find(Texture.Name targetName)
        {
            TextureManager pTextMan = TextureManager.privGetInstance();

            Debug.Assert(pTextMan != null);

            // set up the comparison node
            pTextMan.poNodeCompare.SetName(targetName);

            // delegate searching to base class
            Texture pText = (Texture)pTextMan.baseFind(pTextMan.poNodeCompare);

            return(pText);
        }