Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/ChaosDebugDraw
Inheritance Hierarchy
- FSharedFromThisBase
- TSharedFromThis
- FChaosDDFrame
- FChaosDDGlobalFrame
References
| Module | Chaos |
| Header | /Engine/Source/Runtime/Experimental/Chaos/Public/ChaosDebugDraw/ChaosDDFrame.h |
| Include | #include "ChaosDebugDraw/ChaosDDFrame.h" |
Syntax
class FChaosDDGlobalFrame : public ChaosDD::Private::FChaosDDFrame
Remarks
A special frame used for out-of-frame debug draw. All debug draw commands from a thread that does not have a context set up will use the global frame. This global frame suffers will be flickery because the render may occur while enqueueing a set of related debug draw commands.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FCriticalSection | FrameWriteCS |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FChaosDDGlobalFrame
(
int32 InCommandBudget |
Overridden from FChaosDDFrame
| Type | Name | Description | |
|---|---|---|---|
| void | BeginWrite () |
Used by the global frame to prevent render while queuing commands. | |
| void | EndWrite () |
Used by the global frame to prevent render while queuing commands. | |
| FChaosDDFramePtr | ExtractFrame () |
Create a new frame containing the accumulated commands and reset this frame. |