Navigation
API > API/Editor > API/Editor/UnrealEd
This is read out of config and defines a tree of chunk dependencies
| Name | UChunkDependencyInfo |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Commandlets/ChunkDependencyInfo.h |
| Include Path | #include "Commandlets/ChunkDependencyInfo.h" |
Syntax
UCLASS (Config=Engine, defaultconfig, MinimalAPI)
class UChunkDependencyInfo : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UChunkDependencyInfo
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UChunkDependencyInfo
(
const FObjectInitializer& ObjectInitializer |
Commandlets/ChunkDependencyInfo.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DependencyArray | TArray< FChunkDependency > | List of dependencies used to remove redundant chunks | Commandlets/ChunkDependencyInfo.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CachedHighestChunk | int32 | Cached value of HighestChunk at time of building | Commandlets/ChunkDependencyInfo.h | |
| ChildToParentMap | TMap< int32, TSet< int32 > > | Map of child chunks to all parent chunks, computed in BuildChunkDependencyGraph | Commandlets/ChunkDependencyInfo.h | |
| RootTreeNode | FChunkDependencyTreeNode | Root of tree, this will be valid after calling BuildChunkDependencyGraph | Commandlets/ChunkDependencyInfo.h | |
| TopologicallySortedChunks | TArray< int32 > | Cached array of topologically sorted chunk. | Commandlets/ChunkDependencyInfo.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FChunkDependencyTreeNode * BuildChunkDependencyGraph
(
int32 HighestChunk |
Will create a dependency tree starting with RootTreeNode. | Commandlets/ChunkDependencyInfo.h | |
int32 FindHighestSharedChunk
(
const TArray< int32 >& ChunkIDs |
Given a set of chunk Ids will use the dependencies to find which chunk is shared among all the given chunks. | Commandlets/ChunkDependencyInfo.h | |
void GetChunkDependencies
(
const int32 InChunk, |
Returns the chunks that the in chunk depends upon through the parent rules. | Commandlets/ChunkDependencyInfo.h | |
const FChunkDependencyTreeNode * GetOrBuildChunkDependencyGraph
(
int32 HighestChunk, |
Will return an existing dependency graph, or build if it necessary | Commandlets/ChunkDependencyInfo.h | |
void RemoveRedundantChunks
(
TArray< int32 >& ChunkIDs |
Removes redundant chunks from a chunk list | Commandlets/ChunkDependencyInfo.h |