Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/ChaosDebugDraw
References
| Module | Chaos |
| Header | /Engine/Source/Runtime/Experimental/Chaos/Public/ChaosDebugDraw/ChaosDDContext.h |
| Include | #include "ChaosDebugDraw/ChaosDDContext.h" |
Syntax
class FChaosDDTaskContext
Remarks
Initializes the FChaosDDContext for a task thread. Assumes that the task is kicked off from a thread that has an active debug draw context, which should be passed into this context. Any debug draws from the task will go to the same frame as the parent context.
The active context is accessed via FChaosDDContext::GetWriter() (and not this object).
NOTE: This is only intended to be used for tasks which will be awaited before the end of the frame (truly asynchronous tasks would need their own timeline, or just set up a context that writes to the global frame)
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BeginThread
(
const FChaosDDTaskParentContext& InParentDDContext |
||
| void | EndThread () |