UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FMetalEventNode Class Reference

#include <MetalProfiler.h>

+ Inheritance diagram for FMetalEventNode:

Public Member Functions

 FMetalEventNode (FMetalRHICommandContext &InContext, const TCHAR *InName, FGPUProfilerEventNode *InParent, bool bIsRoot, bool bInFullProfiling)
 
virtual ~FMetalEventNode ()
 
virtual float GetTiming () override
 
virtual void StartTiming () override
 
virtual void StopTiming () override
 
bool IsRoot () const
 
uint64 GetCycles ()
 

Public Attributes

FMetalSyncPointSyncPoint = nullptr
 
uint64 StartTime
 
uint64 EndTime
 

Detailed Description

A single perf event node, which tracks information about a appBeginDrawEvent/appEndDrawEvent range.

Constructor & Destructor Documentation

◆ FMetalEventNode()

FMetalEventNode::FMetalEventNode ( FMetalRHICommandContext InContext,
const TCHAR InName,
FGPUProfilerEventNode *  InParent,
bool  bIsRoot,
bool  bInFullProfiling 
)
inline

◆ ~FMetalEventNode()

FMetalEventNode::~FMetalEventNode ( )
virtual

Member Function Documentation

◆ GetCycles()

uint64 FMetalEventNode::GetCycles ( )
inline

◆ GetTiming()

float FMetalEventNode::GetTiming ( )
overridevirtual

Returns the time in ms that the GPU spent in this draw event. This blocks the CPU if necessary, so can cause hitching.

◆ IsRoot()

bool FMetalEventNode::IsRoot ( ) const
inline

◆ StartTiming()

void FMetalEventNode::StartTiming ( )
overridevirtual

◆ StopTiming()

void FMetalEventNode::StopTiming ( )
overridevirtual

Member Data Documentation

◆ EndTime

uint64 FMetalEventNode::EndTime

◆ StartTime

uint64 FMetalEventNode::StartTime

◆ SyncPoint

FMetalSyncPoint* FMetalEventNode::SyncPoint = nullptr

The documentation for this class was generated from the following files: