Exemple #1
0
        public static Texture2D FromStream(GraphicsDevice graphicsDevice, Stream stream)
        {
            Console.WriteLine("Texture2D.FromStream is not implemented yet.");
            if (!UnityMainThreadDispatcher.IsMainThread())
            {
                return(null);
            }
            var texture = new Texture2D(graphicsDevice, 2, 2);

            return(texture);
        }