예제 #1
0
        public static Texture Find(Texture.Name name)
        {
            TextureMan pTMan = TextureMan.PrivGetInstance();

            Debug.Assert(pTMan != null);

            pTMan.poTexCompare.SetName(name);

            Texture pTNode = (Texture)pTMan.BaseFind(pTMan.poTexCompare);

            return(pTNode);
        }
예제 #2
0
        public static Texture Find(Texture.Name name)
        {
            TextureMan pMan = TextureMan.PrivGetInstance();

            Debug.Assert(pMan != null);

            pMan.poNodeCompare.name = name;

            Texture pData = (Texture)pMan.BaseFind(pMan.poNodeCompare);

            return(pData);
        }
예제 #3
0
        public static Texture Find(Texture.Name name)
        {
            TextureMan pMan = TextureMan.PrivGetInstance();

            Debug.Assert(pMan != null);

            // Compare functions only compares two Nodes

            // So:  Use the Compare Node - as a reference
            //      use in the Compare() function
            pMan.poNodeCompare.SetName(name);

            Texture pData = (Texture)pMan.BaseFind(pMan.poNodeCompare);

            return(pData);
        }