Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/ChaosDebugDraw
Inheritance Hierarchy
- FTlsAutoCleanup
- TThreadSingleton
- FChaosDDContext
References
| Module | Chaos |
| Header | /Engine/Source/Runtime/Experimental/Chaos/Public/ChaosDebugDraw/ChaosDDContext.h |
| Include | #include "ChaosDebugDraw/ChaosDDContext.h" |
Syntax
class FChaosDDContext : public TThreadSingleton< FChaosDDContext >
Remarks
A thread-local debug draw context used to access the queue to draw to for any thread on which debug draw has been set up.
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FChaosDDFramePtr | For internal use - collect all out-of-frame debug draw commands for rendering. | ||
| FChaosDDFrameWriter | GetWriter () |
Write access to the debug draw frame for the current thread. | |
| bool | Whether the debug draw system is enabled. | ||
| void | SetIsDebugDrawEnabled
(
bool bInEnabled |
Enable/Disable the debug draw system. |
Constants
| Name | Description |
|---|---|
| bDebugDrawEnabled | Whether the system is enabled. |
| GlobalCommandBudget | |
| GlobalFrame | |
| GlobalFrameCS | Global frame: fallback for out-of-context debug draw. |