FOpenGLDynamicRHI::RHIGetGPUFrameCycles

Returns the total GPU time taken to render the last frame.

Windows
MacOS
Linux

Override Hierarchy

FDynamicRHI::RHIGetGPUFrameCycles()

FOpenGLDynamicRHI::RHIGetGPUFrameCycles()

References

Module

OpenGLDrv

Header

/Engine/Source/Runtime/OpenGLDrv/Public/OpenGLDrv.h

Include

#include "OpenGLDrv.h"

Source

/Engine/Source/Runtime/OpenGLDrv/Private/OpenGLCommands.cpp

Syntax

virtual uint32 RHIGetGPUFrameCycles
(
    uint32 GPUIndex
)

Remarks

Returns the total GPU time taken to render the last frame. Same metric as FPlatformTime::Cycles().

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss