public void Dispose() { NormalmapEffect.Dispose(); BloomEffect.UnloadContent(); SpriteBatch.Dispose(); PrimitivesRenderer.Dispose(); WhitePixelTexture.Dispose(); if (DrawBuffer != null) { DrawBuffer.Dispose(); DrawBuffer = null; } if (CurrentRenderTarget != null) { CurrentRenderTarget.Dispose(); CurrentRenderTarget = null; } _NeoManager.Dispose(true); }