/Engine/Source/Runtime/AssetRegistry/Public/AssetRegistry/AssetRegistryState.h
Initializes a cache from an existing using a set of filters. This is more efficient than calling InitalizeFromExisting and then PruneAssetData.
void InitializeFromExistingAndPrune ( const [FAssetRegistryState](API\Runtime\AssetRegistry\AssetRegistry\FAssetRegistryState) & ExistingState, const [TSet](API\Runtime\Core\Containers\TSet)< [FName](API\Runtime\Core\UObject\FName) > & RequiredPackages, const [TSet](API\Runtime\Core\Containers\TSet)< [FName](API\Runtime\Core\UObject\FName) > & RemovePackages, const [TSet](API\Runtime\Core\Containers\TSet)< int32 > ChunksToKeep, const [FAssetRegistrySerializationOptions](API\Runtime\AssetRegistry\AssetRegistry\FAssetRegistrySerializationOptio-) & Options )