Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FDebugDrawDelegateHelper
Description
Method that should be called at render state creation (i.e. CreateRenderState_Concurrent). It will either call RegisterDebugDrawDelegate_ when deferring context is not provided or mark for deferred registration that should be flushed by calling ProcessDeferredRegister_ on scene proxy creation.
| Name | RequestRegisterDebugDrawDelegate |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/DebugRenderSceneProxy.h |
| Include Path | #include "DebugRenderSceneProxy.h" |
| Source | /Engine/Source/Runtime/Engine/Private/DebugRenderSceneProxy.cpp |
void RequestRegisterDebugDrawDelegate
(
FRegisterComponentContext * Context
)
Parameters
| Name | Remarks |
|---|---|
| Context | valid context is provided when primitives are batched for deferred 'add' |