public bool Dispose() { try { RLog.Info("Shutting down the engine."); hdrFrameBuffer.Dispose(); _renderControl.Destroy(); RLog.Info("Shutdown complete.\r\n\r\n\r\n\r\n"); return(true); } catch (Exception e) { RLog.Error("Error shutting down the engine."); RLog.Error(e); return(false); } }