FStatUnitData

Data needed to display perframe stat tracking when STAT UNIT is enabled

Windows
MacOS
Linux

Syntax

struct FStatUnitData

Remarks

Data needed to display perframe stat tracking when STAT UNIT is enabled

Variables

Name Description

Public variable

int32

 

CurrentIndex

Public variable

float

 

FrameTime

Public variable

TArray< float >

 

FrameTimes

Public variable

float

 

GameThreadTime

Public variable

TArray< float >

 

GameThreadTimes

Public variable

float

 

GPUFrameTime

Public variable

TArray< float >

 

GPUFrameTimes

Public variable

double

 

LastTime

Time that has transpired since the last draw call

Public variable

float

 

RawFrameTime

Public variable

float

 

RawGameThreadTime

Public variable

float

 

RawGPUFrameTime

Public variable

float

 

RawRenderThreadTime

Raw equivalents of the above variables

Public variable

float

 

RawRHITTime

Public variable

float

 

RenderThreadTime

Unit frame times filtered with a simple running average

Public variable

TArray< float >

 

RenderThreadTimes

Public variable

TArray< float >

 

ResolutionFractions

Public variable

float

 

RHITTime

Public variable

TArray< float >

 

RHITTimes

Constructors

Name Description

Public function

FStatUnitData()

UE_BUILD_SHIPPING.

Functions

Name Description

Public function

int32

 

DrawStat

(
    FViewport* InViewport,
    FCanvas* InCanvas,
    int32 InX,
    int32 InY
)

Render function to display the stat

Constants

Name

Description

NumberOfSamples

References

Module

Engine

Header

Runtime/Engine/Public/UnrealClient.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback