FNiagaraCompileHashVisitor

Used to store the state of a graph when deciding if it has been dirtied for recompile.

Windows
MacOS
Linux

References

Module

Niagara

Header

/Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraTypes.h

Include

#include "NiagaraTypes.h"

Syntax

struct FNiagaraCompileHashVisitor

Remarks

Used to store the state of a graph when deciding if it has been dirtied for recompile.

Variables

Name Description

Public variable

FSHA1 &

 

HashState

Public variable

TArray< const v...

 

ObjectList

Public variable

TArray< FNiagar...

 

Values

Debug data about the compilation hash, including key value pairs to detect differences.

Constructors

Name Description

Public function

FNiagaraCompileHashVisitor

(
    FSHA1& InHashState
)

Functions

Name Description

Public function

int32

 

RegisterReference

(
    const void* InObject
)

Registers a pointer for later reference in the compile id in a deterministic manner.

Public function

void

 

ToDebugString

(
    const T* InData,
    uint64 InDataCount,
    FString& OutStr
)

Public function

bool

 

UpdateArray

(
    const TCHAR* InDebugName,
    const T* InData,
    uint64 InDataCount
)

Adds an array of POD (plain old data) values to the hash.

Public function

bool

 

UpdatePOD

(
    const TCHAR* InDebugName,
    const T& InData
)

Adds a single value of typed POD (plain old data) to the hash.

Public function

bool

 

UpdateReference

(
    const TCHAR* InDebugName,
    const void* InObject
)

We don't usually want to save GUID's or pointer values because they have nondeterministic values.

Public function

bool

 

UpdateString

(
    const TCHAR* InDebugName,
    FStringView InData
)

Adds an string value to the hash.

Constants

Name

Description

LogCompileIdGeneration

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