Example #1
0
        public void Unload()
        {
            if (PixelTexture != null)
            {
                PixelTexture.Texture2D.Dispose();
            }
            PixelTexture = null;

            Batcher.Dispose();
            Batcher = null;
        }