/Engine/Source/Runtime/Engine/Public/DynamicMeshBuilder.h
This class provides the vertex/index allocator interface used byFDynamicMeshBuilderwhich is already implemented internally with caching in mind but can be customized if needed.
class FDynamicMeshBufferAllocator