Class BuildDependencyData
Basic implementation of IDependencyData. Stores the dependency and usage data calculated during a build. IDependencyData
Inherited Members
Namespace: UnityEditor.Build.Pipeline
Assembly: Unity.ScriptableBuildPipeline.Editor.dll
Syntax
[Serializable]
public class BuildDependencyData : IDependencyData, IContextObject
Constructors
BuildDependencyData()
Default constructor, initializes properties to defaults
Declaration
public BuildDependencyData()
Properties
AssetInfo
Map of Asset to dependency data.
Declaration
public Dictionary<GUID, AssetLoadInfo> AssetInfo { get; }
Property Value
Type | Description |
---|---|
Dictionary<GUID, AssetLoadInfo> |
AssetUsage
Map of Asset to usage data.
Declaration
public Dictionary<GUID, BuildUsageTagSet> AssetUsage { get; }
Property Value
Type | Description |
---|---|
Dictionary<GUID, BuildUsageTagSet> |
DependencyHash
Map of Asset or Scene to pre-calculated dependency hash for caching.
Declaration
public Dictionary<GUID, Hash128> DependencyHash { get; }
Property Value
Type | Description |
---|---|
Dictionary<GUID, Hash128> |
DependencyUsageCache
Stores the dependency caching object.
Declaration
public BuildUsageCache DependencyUsageCache { get; }
Property Value
Type | Description |
---|---|
BuildUsageCache |
GlobalUsage
Stores how lighting information is being used during a build.
Declaration
public BuildUsageTagGlobal GlobalUsage { get; set; }
Property Value
Type | Description |
---|---|
BuildUsageTagGlobal |
SceneInfo
Map of Scene to dependency data.
Declaration
public Dictionary<GUID, SceneDependencyInfo> SceneInfo { get; }
Property Value
Type | Description |
---|---|
Dictionary<GUID, SceneDependencyInfo> |
SceneUsage
Map of Scene to usage data.
Declaration
public Dictionary<GUID, BuildUsageTagSet> SceneUsage { get; }
Property Value
Type | Description |
---|---|
Dictionary<GUID, BuildUsageTagSet> |