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