![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <MetalProfiler.h>
Inheritance diagram for FMetalGPUProfiler:Public Member Functions | |
| FMetalGPUProfiler (FMetalRHICommandContext &InContext) | |
| virtual | ~FMetalGPUProfiler () |
| virtual FGPUProfilerEventNode * | CreateEventNode (const TCHAR *InName, FGPUProfilerEventNode *InParent) override |
| void | Cleanup () |
| virtual void | PushEvent (const TCHAR *Name, FColor Color) override |
| virtual void | PopEvent () override |
| void | BeginFrame () |
| void | EndFrame () |
Public Attributes | |
| TIndirectArray< FMetalEventNodeFrame > | GPUHitchEventNodeFrames |
| FMetalGPUTiming | TimingSupport |
| FMetalRHICommandContext & | Context |
Encapsulates GPU profiling logic and data. There's only one global instance of this struct so it should only contain global data, nothing specific to a frame.
|
inline |
|
inlinevirtual |
| void FMetalGPUProfiler::BeginFrame | ( | ) |
| void FMetalGPUProfiler::Cleanup | ( | ) |
|
overridevirtual |
| void FMetalGPUProfiler::EndFrame | ( | ) |
|
overridevirtual |
Reimplemented in FMetalProfiler.
Reimplemented in FMetalProfiler.
| FMetalRHICommandContext& FMetalGPUProfiler::Context |
| TIndirectArray<FMetalEventNodeFrame> FMetalGPUProfiler::GPUHitchEventNodeFrames |
GPU hitch profile histories
| FMetalGPUTiming FMetalGPUProfiler::TimingSupport |