private static void Dispose() { graphicsDevice.WaitForIdle(); infoTextRenderer.Dispose(); demoTextRenderer.Dispose(); commandList.Dispose(); }