示例#1
0
文件: Graphics.cs 项目: JonSnowbd/Ash
        public void Unload()
        {
            if (PixelTexture != null)
            {
                PixelTexture.Texture2D.Dispose();
            }
            PixelTexture = null;

            Batcher.Dispose();
            Batcher = null;
        }