FBlueprintNodeTemplateCache::RecalculateCacheSize

External systems can make changes that alter the memory footprint of the cache (like calling AllocateDefaultPins), and since we don't recalculate the cache's size every frame sometimes we need to update the internal estimate.

Windows
MacOS
Linux

References

Module

BlueprintGraph

Header

/Engine/Source/Editor/BlueprintGraph/Public/BlueprintNodeTemplateCache.h

Include

#include "BlueprintNodeTemplateCache.h"

Source

/Engine/Source/Editor/BlueprintGraph/Private/BlueprintNodeTemplateCache.cpp

Syntax

int32 RecalculateCacheSize()

Remarks

External systems can make changes that alter the memory footprint of the cache (like calling AllocateDefaultPins), and since we don't recalculate the cache's size every frame sometimes we need to update the internal estimate.

Returns

The new approximated total (in bytes) that this cache has allocated.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss