BucketConfigs
BucketConfigs
#Overview
name: BucketConfigs
The value of this variable can be defined or overridden in .ini config files. 1
.ini config file referencing this setting variable.
It is referenced in 2
C++ source files.
#Summary
#Setting Variables
#References In INI files
Location: <Workspace>/Engine/Config/BaseEngine.ini:2430, section: [RuntimeAssetCache]
- INI Section:
RuntimeAssetCache
- Raw value:
(Name="DefaultBucket", Size=10000000)
- Is Array:
True
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/RuntimeAssetCache/Private/RuntimeAssetCache.cpp:17
Scope (from outer to inner):
file
function FRuntimeAssetCache::FRuntimeAssetCache
Source code excerpt:
TArray<FString> BucketNames;
GConfig->GetArray(TEXT("RuntimeAssetCache"), TEXT("BucketConfigs"), BucketNames, GEngineIni);
for (FString& Bucket : BucketNames)
{
if (FParse::Value(*Bucket, TEXT("Name="), BucketName))
{
BucketSize = FRuntimeAssetCacheBucket::DefaultBucketSize;
#Loc: <Workspace>/Engine/Source/Runtime/RuntimeAssetCache/Public/RuntimeAssetCacheInterface.h:60
Scope: file
Source code excerpt:
* Bucket names and maximum sizes are configure via Engine.ini config file using the following syntax
* [RuntimeAssetCache]
* +BucketConfigs=(Name="<Plugin name>", Size=<Maximum bucket size in bytes>)
* This API is fully thread safe.
**/
class FRuntimeAssetCacheInterface
{
public:
virtual ~FRuntimeAssetCacheInterface() { }
/**
* Synchronously gets value from cache. If value is not found, builds entry using CacheBuilder and updates cache.
* @param CacheBuilder Builder to produce cache key and in the event of a miss.
* @return Pointer to retrieved cache entry, nullptr on fail. Fail occurs only when
* - there's no entry in cache and CacheBuilder is nullptr or