Navigation
API > API/Runtime > API/Runtime/RenderCore > API/Runtime/RenderCore/ProfilingDebugging > API/Runtime/RenderCore/ProfilingDebugging/FDrawEvent
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/ProfilingDebugging/RealtimeGPUProfiler.h |
| Include | #include "ProfilingDebugging/RealtimeGPUProfiler.h" |
| Source | /Engine/Source/Runtime/RenderCore/Private/ProfilingDebugging/RealtimeGPUProfiler.cpp |
void Start
&40;
FRHIComputeCommandList &42; RHICmdList,
FColor Color,
const TCHAR &42; Fmt,
...
&41;
Remarks
Functions for logging a PIX event with var args.
- If Start is called on the rendering or RHI threads, RHICmdList must be non-null.
- On the game thread, RHICmdList must be nullptr and a render command will be enqueued on the immediate command list
- Stop can be called on any thread but must be called on the same thread Start was called on and will either use the same command list (rendering / RHI thread) or enqueue a command on the current immediate command list (game thread)