Class BuildCache
Default implementation of the Build Cache
Inherited Members
Namespace: UnityEditor.Build.Pipeline.Utilities
Assembly: solution.dll
Syntax
public class BuildCache : IBuildCache, IContextObject, IDisposable
Constructors
Name | Description |
---|---|
BuildCache() | Creates a new build cache object. |
BuildCache(string, int) | Creates a new remote build cache object. |
Methods
Name | Description |
---|---|
Dispose() | Disposes the build cache instance. |
GetCacheEntry(string, int) | Gets a CacheEntry for a file identified by its relative path. |
GetCacheEntry(Type, int) | Gets a CacheEntry for a scripting type by a System.Type. |
GetCacheEntry(ObjectIdentifier, int) | Gets a CacheEntry for an object identified by an Object Identifier. |
GetCacheEntry(GUID, int) | Gets a CacheEntry for an asset identified by its GUID. |
GetCachedArtifactsDirectory(CacheEntry) | Returns the path where artifact data can be saved in the cache |
GetCachedInfoFile(CacheEntry) | Returns the path where info data can be saved in the cache |
HasAssetOrDependencyChanged(CachedInfo) | Checks if the CachedInfo passed in needs to be rebuilt |
LoadCachedData(IList<CacheEntry>, out IList<CachedInfo>) | Loads a set of CachedInfos from the cache |
PruneCache() | Prunes the build cache so that its size is within the maximum cache size. |
PruneCache_Background(long) | Prunes the build cache without showing UI prompts. |
PurgeCache(bool) | Deletes the build cache directory. |
SaveCachedData(IList<CachedInfo>) | Saves a set of CachedInfos to the cache |