/Engine/Source/Editor/CurveEditor/Public/SCurveEditorView.h
This should be called every tick by an owning widget, to see if the cache is valid, which will then recreate it and invalidate widget
virtual void CheckCacheAndInvalidateIfNeeded()