internal static bool UnloadMessageFilter(MyRenderMessageEnum messageType)
        {
            switch (messageType)
            {
                case MyRenderMessageEnum.UnloadTexture:
                case MyRenderMessageEnum.UnloadModel:
                case MyRenderMessageEnum.RemoveRenderObject:
                case MyRenderMessageEnum.UpdateHDRSettings:
                case MyRenderMessageEnum.UpdateAntiAliasSettings:
                case MyRenderMessageEnum.UpdateVignettingSettings:
                case MyRenderMessageEnum.UpdateColorMappingSettings:
                case MyRenderMessageEnum.UpdateContrastSettings:
                case MyRenderMessageEnum.UpdateChromaticAberrationSettings:
                case MyRenderMessageEnum.UpdateSSAOSettings:
                case MyRenderMessageEnum.UpdateFogSettings:
                case MyRenderMessageEnum.UpdateGodRaysSettings:
                case MyRenderMessageEnum.CloseVideo:
                case MyRenderMessageEnum.HideDecals:
                case MyRenderMessageEnum.UnloadData:
                    return true;

                default:
                    return false;
            }
        }