Navigation
API > API/Plugins > API/Plugins/Niagara
Used to store the state of a graph when deciding if it has been dirtied for recompile.
| Name | FNiagaraCompileHashVisitor |
| Type | struct |
| Header File | /Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraCompileHashVisitor.h |
| Include Path | #include "NiagaraCompileHashVisitor.h" |
Syntax
struct FNiagaraCompileHashVisitor
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNiagaraCompileHashVisitor
(
FSHA1& InHashState |
NiagaraCompileHashVisitor.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| LogCompileIdGeneration | int | NiagaraCompileHashVisitor.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| HashState | FSHA1 & | NiagaraCompileHashVisitor.h | ||
| ObjectList | TArray< const void * > | NiagaraCompileHashVisitor.h | ||
| Values | TArray< FNiagaraCompileHashVisitorDebugInfo > | Debug data about the compilation hash, including key value pairs to detect differences. | NiagaraCompileHashVisitor.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNiagaraCompileHashVisitorDebugInfo * AddDebugInfo() |
NiagaraCompileHashVisitor.h | ||
int32 RegisterReference
(
const void* InObject |
Registers a pointer for later reference in the compile id in a deterministic manner. | NiagaraCompileHashVisitor.h | |
void ToDebugString
(
const T* InData, |
NiagaraCompileHashVisitor.h | ||
bool UpdateArray
(
const TCHAR* InDebugName, |
Adds an array of POD (plain old data) values to the hash. | NiagaraCompileHashVisitor.h | |
bool UpdateName
(
const TCHAR* InDebugName, |
Adds the string representation of an FName to the hash | NiagaraCompileHashVisitor.h | |
bool UpdatePOD
(
const TCHAR* InDebugName, |
Adds a single value of typed POD (plain old data) to the hash. | NiagaraCompileHashVisitor.h | |
bool UpdateReference
(
const TCHAR* InDebugName, |
We don't usually want to save GUID's or pointer values because they have nondeterministic values. | NiagaraCompileHashVisitor.h | |
bool UpdateShaderFile
(
const TCHAR* ShaderFilePath |
NiagaraCompileHashVisitor.h | ||
bool UpdateShaderParameters() |
NiagaraCompileHashVisitor.h | ||
bool UpdateString
(
const TCHAR* InDebugName, |
Adds an string value to the hash. | NiagaraCompileHashVisitor.h |