![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MassExternalSubsystemTraits.h>
Public Types | |
| enum | { GameThreadOnly = true , ThreadSafeWrite = !GameThreadOnly } |
Traits describing how a given piece of code can be used by Mass. We require author or user of a given subsystem to define its traits. To do it add the following in an accessible location.
template<> struct TMassExternalSubsystemTraits<UMyCustomManager> { enum { GameThreadOnly = false; } }
this will let Mass know it can access UMyCustomManager on any thread.
This information is being used to calculate processor and query dependencies as well as appropriate distribution of calculations across threads.