FStatUnitData

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

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/UnrealClient.h

Include

#include "UnrealClient.h"

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[1]

 

GPUFrameTime

Public variable

TArray< float >...

 

GPUFrameTimes

Public variable

float

 

InputLatencyTime

Public variable

TArray< float >

 

InputLatencyTimes

Public variable

double

 

LastTime

Time that has transpired since the last draw call

Public variable

float

 

RawFrameTime

Public variable

float

 

RawGameThreadTime

Public variable

float[1]

 

RawGPUFrameTime

Public variable

float

 

RawInputLatencyTime

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