public static BuildUsageTagGlobal operator|(BuildUsageTagGlobal x, BuildUsageTagGlobal y)
        {
            var results = new BuildUsageTagGlobal();

            results.m_LightmapModesUsed       = x.m_LightmapModesUsed | y.m_LightmapModesUsed;
            results.m_LegacyLightmapModesUsed = x.m_LegacyLightmapModesUsed | y.m_LegacyLightmapModesUsed;
            results.m_DynamicLightmapsUsed    = x.m_LightmapModesUsed | y.m_DynamicLightmapsUsed;
            results.m_FogModesUsed            = x.m_FogModesUsed | y.m_FogModesUsed;
            results.m_ForceInstancingStrip    = x.m_ForceInstancingStrip | y.m_ForceInstancingStrip;
            results.m_ForceInstancingKeep     = x.m_ForceInstancingKeep | y.m_ForceInstancingKeep;
            results.m_ShadowMasksUsed         = x.m_ShadowMasksUsed | y.m_ShadowMasksUsed;
            results.m_SubtractiveUsed         = x.m_SubtractiveUsed | y.m_SubtractiveUsed;
            return(results);
        }
        public static BuildUsageTagGlobal operator|(BuildUsageTagGlobal x, BuildUsageTagGlobal y)
        {
            var results = new BuildUsageTagGlobal();

            results.m_LightmapModesUsed         = x.m_LightmapModesUsed | y.m_LightmapModesUsed;
            results.m_LegacyLightmapModesUsed   = x.m_LegacyLightmapModesUsed | y.m_LegacyLightmapModesUsed;
            results.m_DynamicLightmapsUsed      = x.m_LightmapModesUsed | y.m_DynamicLightmapsUsed;
            results.m_FogModesUsed              = x.m_FogModesUsed | y.m_FogModesUsed;
            results.m_ForceInstancingStrip      = x.m_ForceInstancingStrip | y.m_ForceInstancingStrip;
            results.m_ForceInstancingKeep       = x.m_ForceInstancingKeep | y.m_ForceInstancingKeep;
            results.m_ShadowMasksUsed           = x.m_ShadowMasksUsed | y.m_ShadowMasksUsed;
            results.m_SubtractiveUsed           = x.m_SubtractiveUsed | y.m_SubtractiveUsed;
            results.m_HybridRendererPackageUsed = x.m_HybridRendererPackageUsed | y.m_HybridRendererPackageUsed;
            results.m_BrgShaderStripModeMask    = x.m_BrgShaderStripModeMask | y.m_BrgShaderStripModeMask;
            results.m_BuildForLivelink          = x.m_BuildForLivelink | y.m_BuildForLivelink;
            results.m_BuildForServer            = x.m_BuildForServer | y.m_BuildForServer;
            return(results);
        }
Example #3
0
 public static extern void CalculateBuildUsageTags(ObjectIdentifier[] objectIDs, ObjectIdentifier[] dependentObjectIDs, BuildUsageTagGlobal globalUsage, BuildUsageTagSet usageSet, BuildUsageCache usageCache);
Example #4
0
 public static void CalculateBuildUsageTags(ObjectIdentifier[] objectIDs, ObjectIdentifier[] dependentObjectIDs, BuildUsageTagGlobal globalUsage, BuildUsageTagSet usageSet)
 {
     CalculateBuildUsageTags(objectIDs, dependentObjectIDs, globalUsage, usageSet, null);
 }
 static extern WriteResult WriteSceneSerializedFileRaw(string outputFolder, string scenePath, WriteCommand writeCommand, BuildSettings settings, BuildUsageTagGlobal globalUsage, BuildUsageTagSet usageSet, BuildReferenceMap referenceMap);
 static extern WriteResult WriteSerializedFileAssetBundle(string outputFolder, WriteCommand writeCommand, BuildSettings settings, BuildUsageTagGlobal globalUsage, BuildUsageTagSet usageSet, BuildReferenceMap referenceMap, AssetBundleInfo bundleInfo);
 public static WriteResult WriteSceneSerializedFile(string outputFolder, string scenePath, string processedScene, WriteCommand writeCommand, BuildSettings settings, BuildUsageTagGlobal globalUsage, BuildUsageTagSet usageSet, BuildReferenceMap referenceMap)
 {
     if (string.IsNullOrEmpty(outputFolder))
     {
         throw new ArgumentException("String is null or empty.", "outputFolder");
     }
     if (string.IsNullOrEmpty(scenePath))
     {
         throw new ArgumentException("String is null or empty.", "scenePath");
     }
     if (string.IsNullOrEmpty(processedScene))
     {
         throw new ArgumentException("String is null or empty.", "processedScene");
     }
     if (!File.Exists(processedScene))
     {
         throw new ArgumentException(string.Format("File '{0}' does not exist.", processedScene), "processedScene");
     }
     if (writeCommand == null)
     {
         throw new ArgumentNullException("writeCommand");
     }
     if (referenceMap == null)
     {
         throw new ArgumentNullException("referenceMap");
     }
     return(WriteSceneSerializedFileRaw(outputFolder, scenePath, processedScene, writeCommand, settings, globalUsage, usageSet, referenceMap));
 }
Example #8
0
 public static GameManagerDependencyInfo CalculatePlayerDependenciesForGameManagers(BuildSettings settings, BuildUsageTagGlobal globalUsage, BuildUsageTagSet usageSet, BuildUsageCache usageCache, DependencyType mode)
 {
     if (IsBuildInProgress())
     {
         throw new InvalidOperationException("Cannot call CalculatePlayerDependenciesForGameManagers while a build is in progress");
     }
     return(CalculatePlayerDependenciesForGameManagersInternal(settings, globalUsage, usageSet, usageCache, mode));
 }
Example #9
0
 public static WriteResult WriteSceneSerializedFile(string outputFolder, string scenePath, string processedScene, WriteCommand writeCommand, BuildSettings settings, BuildUsageTagGlobal globalUsage, BuildUsageTagSet usageSet, BuildReferenceMap referenceMap, PreloadInfo preloadInfo, SceneBundleInfo sceneBundleInfo)
 {
     if (IsBuildInProgress())
     {
         throw new InvalidOperationException("Cannot call WriteSceneSerializedFile while a build is in progress");
     }
     if (string.IsNullOrEmpty(outputFolder))
     {
         throw new ArgumentException("String is null or empty.", "outputFolder");
     }
     if (string.IsNullOrEmpty(scenePath))
     {
         throw new ArgumentException("String is null or empty.", "scenePath");
     }
     if (string.IsNullOrEmpty(processedScene))
     {
         throw new ArgumentException("String is null or empty.", "processedScene");
     }
     if (!File.Exists(processedScene))
     {
         throw new ArgumentException(string.Format("File '{0}' does not exist.", processedScene), "processedScene");
     }
     if (writeCommand == null)
     {
         throw new ArgumentNullException("writeCommand");
     }
     if (referenceMap == null)
     {
         throw new ArgumentNullException("referenceMap");
     }
     if (preloadInfo == null)
     {
         throw new ArgumentNullException("preloadInfo");
     }
     if (sceneBundleInfo == null)
     {
         throw new ArgumentNullException("sceneBundleInfo");
     }
     return(WriteSceneSerializedFileAssetBundle(outputFolder, scenePath, processedScene, writeCommand, settings, globalUsage, usageSet, referenceMap, preloadInfo, sceneBundleInfo));
 }
 public static WriteResult WriteSceneSerializedFile(string outputFolder, string scenePath, string processedScene, WriteCommand writeCommand, BuildSettings settings, BuildUsageTagGlobal globalUsage, BuildUsageTagSet usageSet, BuildReferenceMap referenceMap)
 {
     return(WriteSceneSerializedFile(outputFolder, new WriteSceneParameters
     {
         scenePath = scenePath,
         writeCommand = writeCommand,
         settings = settings,
         globalUsage = globalUsage,
         usageSet = usageSet,
         referenceMap = referenceMap
     }));
 }
 public static WriteResult WriteSerializedFile(string outputFolder, WriteCommand writeCommand, BuildSettings settings, BuildUsageTagGlobal globalUsage, BuildUsageTagSet usageSet, BuildReferenceMap referenceMap, AssetBundleInfo bundleInfo)
 {
     return(WriteSerializedFile(outputFolder, new WriteParameters
     {
         writeCommand = writeCommand,
         settings = settings,
         globalUsage = globalUsage,
         usageSet = usageSet,
         referenceMap = referenceMap,
         bundleInfo = bundleInfo
     }));
 }
 static extern WriteResult WriteSceneSerializedFilePlayerData(string outputFolder, string scenePath, string processedScene, WriteCommand writeCommand, BuildSettings settings, BuildUsageTagGlobal globalUsage, BuildUsageTagSet usageSet, BuildReferenceMap referenceMap, PreloadInfo preloadInfo);
 public static WriteResult WriteSerializedFile(string outputFolder, WriteCommand writeCommand, BuildSettings settings, BuildUsageTagGlobal globalUsage, BuildUsageTagSet usageSet, BuildReferenceMap referenceMap)
 {
     if (string.IsNullOrEmpty(outputFolder))
     {
         throw new ArgumentException("String is null or empty.", "outputFolder");
     }
     if (writeCommand == null)
     {
         throw new ArgumentNullException("writeCommand");
     }
     if (referenceMap == null)
     {
         throw new ArgumentNullException("referenceMap");
     }
     return(WriteSerializedFileRaw(outputFolder, writeCommand, settings, globalUsage, usageSet, referenceMap));
 }
Example #14
0
 static extern WriteResult WriteSceneSerializedFile_Internal(string outputFolder, string scenePath, WriteCommand writeCommand, BuildSettings settings, BuildUsageTagGlobal globalUsage, BuildUsageTagSet usageSet, BuildReferenceMap referenceMap, PreloadInfo preloadInfo, SceneBundleInfo sceneBundleInfo);
Example #15
0
 extern private static WriteResult WriteSceneSerializedFileAssetBundle(string outputFolder, string scenePath, string processedScene, WriteCommand writeCommand, BuildSettings settings, BuildUsageTagGlobal globalUsage, BuildUsageTagSet usageSet, BuildReferenceMap referenceMap, PreloadInfo preloadInfo, SceneBundleInfo sceneBundleInfo);
Example #16
0
 static extern WriteResult WriteGameManagersSerializedFileRaw(string outputFolder, BuildSettings settings, BuildUsageTagGlobal globalUsage, BuildReferenceMap referenceMap);
Example #17
0
 public static WriteResult WriteSerializedFile(string outputFolder, WriteCommand writeCommand, BuildSettings settings, BuildUsageTagGlobal globalUsage, BuildUsageTagSet usageSet, BuildReferenceMap referenceMap, AssetBundleInfo bundleInfo)
 {
     if (IsBuildInProgress())
     {
         throw new InvalidOperationException("Cannot call WriteSerializedFile while a build is in progress");
     }
     if (string.IsNullOrEmpty(outputFolder))
     {
         throw new ArgumentException("String is null or empty.", "outputFolder");
     }
     if (writeCommand == null)
     {
         throw new ArgumentNullException("writeCommand");
     }
     if (referenceMap == null)
     {
         throw new ArgumentNullException("referenceMap");
     }
     if (bundleInfo == null)
     {
         throw new ArgumentNullException("bundleInfo");
     }
     return(WriteSerializedFileAssetBundle(outputFolder, writeCommand, settings, globalUsage, usageSet, referenceMap, bundleInfo));
 }
Example #18
0
 static extern GameManagerDependencyInfo CalculatePlayerDependenciesForGameManagersInternal(BuildSettings settings, BuildUsageTagGlobal globalUsage, BuildUsageTagSet usageSet, BuildUsageCache usageCache, DependencyType mode);
Example #19
0
 public static WriteResult WriteSceneSerializedFile(string outputFolder, string scenePath, string processedScene, WriteCommand writeCommand, BuildSettings settings, BuildUsageTagGlobal globalUsage, BuildUsageTagSet usageSet, BuildReferenceMap referenceMap)
 {
     if (IsBuildInProgress())
     {
         throw new InvalidOperationException("Cannot call WriteSceneSerializedFile while a build is in progress");
     }
     if (string.IsNullOrEmpty(outputFolder))
     {
         throw new ArgumentException("String is null or empty.", "outputFolder");
     }
     if (string.IsNullOrEmpty(scenePath))
     {
         throw new ArgumentException("String is null or empty.", "scenePath");
     }
     if (writeCommand == null)
     {
         throw new ArgumentNullException("writeCommand");
     }
     if (referenceMap == null)
     {
         throw new ArgumentNullException("referenceMap");
     }
     return(WriteSceneSerializedFileRaw(outputFolder, scenePath, processedScene, writeCommand, settings, globalUsage, usageSet, referenceMap));
 }