![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ChunkSource.h>
Inheritance diagram for BuildPatchServices::IChunkSource:Public Member Functions | |
| virtual | ~IChunkSource () |
| virtual IChunkDataAccess * | Get (const FGuid &DataId)=0 |
| virtual TSet< FGuid > | AddRuntimeRequirements (TSet< FGuid > NewRequirements)=0 |
| virtual bool | AddRepeatRequirement (const FGuid &RepeatRequirement)=0 |
| virtual void | SetUnavailableChunksCallback (TFunction< void(TSet< FGuid >)> Callback)=0 |
An interface providing basic access to retrieving chunk data.
|
inlinevirtual |
|
pure virtual |
Adds a requirement to reacquire a chunk that may have already been acquired before by this source. This allows the source implementation to to support forward reading of chunks, and track which it would not need to request.
| RepeatRequirement | The chunk that needs reacquiring. |
Implemented in BuildPatchServices::FCloudChunkSource.
|
pure virtual |
Adds additional chunk requirements to the source, the implementation will return the resulting set of chunks that could not be accessed via this source.
| NewRequirements | The set of chunks that are now additionally desired. |
Implemented in BuildPatchServices::FCloudChunkSource.
|
pure virtual |
Gets the chunk data for the given id if this source has that chunk.
| DataId | The id for the chunk. |
Implemented in BuildPatchServices::FCloudChunkSource.
|
pure virtual |
Sets a callback to be used when chunks that are being fetched by this source are no longer available.
| Callback | The function to call with the set of chunks no longer still available. |
Implemented in BuildPatchServices::FCloudChunkSource.