UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FVulkanGPUProfiler Struct Reference

#include <VulkanGPUProfiler.h>

+ Inheritance diagram for FVulkanGPUProfiler:

Public Member Functions

 FVulkanGPUProfiler (FVulkanContextCommon *InContext, FVulkanDevice *InDevice)
 
virtual ~FVulkanGPUProfiler ()
 
virtual FGPUProfilerEventNode * CreateEventNode (const TCHAR *InName, FGPUProfilerEventNode *InParent) override final
 
void BeginFrame ()
 
void EndFrameBeforeSubmit ()
 
void EndFrame ()
 

Public Attributes

TIndirectArray< FVulkanEventNodeFrameGPUHitchEventNodeFrames
 
bool bCommandlistSubmitted
 
FVulkanDeviceDevice
 
FVulkanContextCommonCmdContext
 
bool bBeginFrame
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ FVulkanGPUProfiler()

FVulkanGPUProfiler::FVulkanGPUProfiler ( FVulkanContextCommon InContext,
FVulkanDevice InDevice 
)

◆ ~FVulkanGPUProfiler()

FVulkanGPUProfiler::~FVulkanGPUProfiler ( )
virtual

Member Function Documentation

◆ BeginFrame()

void FVulkanGPUProfiler::BeginFrame ( )

◆ CreateEventNode()

virtual FGPUProfilerEventNode * FVulkanGPUProfiler::CreateEventNode ( const TCHAR InName,
FGPUProfilerEventNode *  InParent 
)
inlinefinaloverridevirtual

◆ EndFrame()

void FVulkanGPUProfiler::EndFrame ( )

◆ EndFrameBeforeSubmit()

void FVulkanGPUProfiler::EndFrameBeforeSubmit ( )

Member Data Documentation

◆ bBeginFrame

bool FVulkanGPUProfiler::bBeginFrame

◆ bCommandlistSubmitted

bool FVulkanGPUProfiler::bCommandlistSubmitted

◆ CmdContext

FVulkanContextCommon* FVulkanGPUProfiler::CmdContext

◆ Device

FVulkanDevice* FVulkanGPUProfiler::Device

◆ GPUHitchEventNodeFrames

TIndirectArray<FVulkanEventNodeFrame> FVulkanGPUProfiler::GPUHitchEventNodeFrames

GPU hitch profile histories


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