Navigation
Unreal Engine C++ API Reference > Developer > DerivedDataCache > FBuildContext
References
Module | DerivedDataCache |
Header | /Engine/Source/Developer/DerivedDataCache/Public/DerivedDataBuildFunction.h |
Include | #include "DerivedDataBuildFunction.h" |
void BeginAsyncBuild()
Remarks
Make this an asynchronous build by making the caller responsible for completing the build.
This is an advanced feature that bypasses many of the safety checks for synchronous builds that validate that the build function only accesses inputs through the context. Take extra care to only consume inputs available in the build context and avoid reading global state.
This may be called at most once on a build context. A function that uses this must support async cancellation by implementing CancelAsyncBuild. Once this has been called, the caller is responsible for calling EndAsyncBuild to finish this build. An async build may end from any thread, but the context is only safe to use from one thread at a time.