public static Texture find(Texture.TextureName texName) { TextureManager texManInst = TextureManager.getSingletonInstance(); Debug.Assert(texManInst != null); Texture pseudoTex = cTextureRef; Debug.Assert(pseudoTex != null); pseudoTex.setTextureName(texName); Texture targetTex = (Texture)texManInst.genericFind(pseudoTex); return(targetTex); }