Navigation
API > API/Runtime > API/Runtime/Chaos
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.
| Name | FChaosDDGlobalFrame |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/ChaosDebugDraw/ChaosDDFrame.h |
| Include Path | #include "ChaosDebugDraw/ChaosDDFrame.h" |
Syntax
class FChaosDDGlobalFrame : public ChaosDD::Private::FChaosDDFrame
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FChaosDDFrame → FChaosDDGlobalFrame
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FChaosDDGlobalFrame
(
int32 InCommandBudget |
ChaosDebugDraw/ChaosDDFrame.h |
Functions
Public
Overridden from FChaosDDFrame
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginWrite() |
Used by the global frame to prevent render while queuing commands. | ChaosDebugDraw/ChaosDDFrame.h | |
virtual void EndWrite() |
Used by the global frame to prevent render while queuing commands. | ChaosDebugDraw/ChaosDDFrame.h | |
virtual FChaosDDFramePtr ExtractFrame() |
Create a new frame containing the accumulated commands and reset this frame. | ChaosDebugDraw/ChaosDDFrame.h |