Beispiel #1
0
        public static Texture Find(TextureName texName)
        {
            TextureManager texMan = TextureManager.GetInstance();

            return((Texture)texMan.BaseFind((DLink) new Texture {
                name = texName
            }));
        }
        public static Texture Find(Texture.Name name)
        {
            TextureManager pMan = TextureManager.GetInstance();

            Debug.Assert(pMan != null);

            pMan.pNodeCompare.SetName(name);
            Texture pData = (Texture)pMan.BaseFind(pMan.pNodeCompare);

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

            Debug.Assert(pMan != null);

            // Use compare node to compare to search nodes
            pMan.pTextureCompare.SetName(name);

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

            return(pData);
        }
Beispiel #4
0
        public static Texture Find(Texture.Name name)
        {
            TextureManager pMan = TextureManager.PrivGetInstance();

            Debug.Assert(pMan != null);

            pMan.poCompareNode.name = name;

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

            Debug.Assert(pData != null);

            return(pData);
        }
Beispiel #5
0
        public static Texture Find(Texture.Name name)
        {
            TextureManager pMan = TextureManager.PrivGetInstance();

            Debug.Assert(pMan != null);

            // 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);
        }