FNiagaraPerfBaselineStats

Choose your operating system:

Windows

macOS

Linux

References

Module

Niagara

Header

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

Include

#include "NiagaraPerfBaseline.h"

Syntax

USTRUCT(BlueprintType)
struct FNiagaraPerfBaselineStats

Variables

Name Description

Public variable UProperty Category, EditAnywhere BlueprintReadWrite Config

float

 

PerInstanceAvg_GT

Per instance average time spent on the GameThread (µs).

Public variable UProperty Category, EditAnywhere BlueprintReadWrite Config

float

 

PerInstanceAvg_RT

Per instance average time spent on the RenerThread (µs).

Public variable UProperty Category, EditAnywhere BlueprintReadWrite Config

float

 

PerInstanceMax_GT

Per instance max time spent on the GameThread (µs).

Public variable UProperty Category, EditAnywhere BlueprintReadWrite Config

float

 

PerInstanceMax_RT

Per instance max time spent on the RenderThread (µs).

Constructors

Name Description

Public function

FNiagaraPerfBaselineStats()

Public function

FNiagaraPerfBaselineStats

(
    FAccumulatedParticlePerfStats& Sta...,
    bool bSyncRT
)

Construct from accumulated perf stats.

Functions

Name Description

Public function Static

EComparisonR...

 

Compare

(
    const FNiagaraPerfBaselineStats& S...,
    const FNiagaraPerfBaselineStats& B...,
    FNiagaraPerfBaselineStats& OutRati...
)

Compares a system's performance stats with that of a baseline.

Public function Static

EComparisonR...

 

Compare

(
    float Stat,
    float Baseline,
    float& OutRatio
)

Compares a system's performance stats with that of a baseline.

Public function Static

EComparisonR...

 

Compare

(
    const FNiagaraPerfBaselineStats& S...,
    const FNiagaraPerfBaselineStats& B...,
    FNiagaraPerfBaselineStats& OutRati...,
    EComparisonResult& OutGTAvgResult,
    EComparisonResult& OutGTMaxResult,
    EComparisonResult& OutRTAvgResult,
    EComparisonResult& OutRTMaxResult
)

Compares a system's performance stats with that of a baseline.

Public function Static

FLinearColor

 

GetComparisonResultColor

(
    EComparisonResult Result
)

Public function Static

FText

 

GetComparisonResultText

(
    EComparisonResult Result
)

Public function Const

bool

 

IsValid()

Enums

Name

Description

Public enum

EComparisonResult