/Engine/Source/Runtime/Core/Public/Misc/FrameValue.h
This struct allows you to cache a value for a frame, and automatically invalidates when the frame advances. If the value was set this frame,IsSet()returns true andGetValue()is valid.
template<typename ValueType> struct TFrameValue