Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Debug > API/Runtime/Engine/Debug/UDebugDrawService
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Debug/DebugDrawService.h |
| Include | #include "Debug/DebugDrawService.h" |
Syntax
static DelegatesLock;
Remarks
Synchronization object for delegate registration since it can happen from multiple threads. e.g. primitives added in batch through ParallelFor(AddPrimitiveBatches.Num(), & { FOptionalTaskTagScope Scope(ETaskTag::EParallelGameThread); Scene->AddPrimitive(...); } or RecreateRenderState_Concurrent that will unregister and register delegates from multiple threads.