FParticlePerfStatsListener_NiagaraBaselineComparisonRender

This listener gathers perf stats for all systems and will render them to the editor viewport with a comparison to their perf baselines.

Windows
MacOS
Linux

Inheritance Hierarchy

TSharedFromThis

FParticlePerfStatsListener

FParticlePerfStatsListener_GatherAll

FParticlePerfStatsListener_NiagaraBaselineComparisonRender

References

Module

Niagara

Header

/Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraPerfBaseline.h

Include

#include "NiagaraPerfBaseline.h"

Syntax

class FParticlePerfStatsListener_NiagaraBaselineComparisonRender : public FParticlePerfStatsListener_GatherAll

Remarks

This listener gathers perf stats for all systems and will render them to the editor viewport with a comparison to their perf baselines.

Variables

Name Description

Public variable

TMap< TWeakObje...

 

CurrentStats

Public variable

int32

 

NumFrames

Public variable

int32

 

NumFramesRT

Constructors

Functions

Name Description

Public function

int32

 

RenderStats

(
    UWorld* World,
    FViewport* Viewport,
    FCanvas* Canvas,
    int32 X,
    int32 Y,
    const FVector* ViewLocation,
    const FRotator* ViewRotation
)

Overridden from FParticlePerfStatsListener

Name Description

Public function Virtual Const

bool

 

NeedsSystemStats()

Public function Virtual Const

bool

 

NeedsWorldStats()

Public function Virtual

bool

 

Tick()

Called every frame with the current frame data.

Public function Virtual

void

 

TickRT()

Called every frame with the current frame data.

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