I integrate a system that can build vertex streams asynchronously.
So I spawn tasks in my FPrimitiveSceneProxy::PreRenderView
override, then in FPrimitiveSceneProxy::DrawDynamicElements
I wait those tasks.
But sometimes, PreRenderView
is called but DrawDynamicElements
is not called. This is a a problem to unlock vertex streams among other tings.
Is there a kind-of- PostRenderView
somewhere, or a way to know in PreRenderView
that DrawDynamicElements
will not be called this frame ?