Navigation
API > API/Plugins > API/Plugins/NiagaraShader
Data coming from that translator that describes parameters needed for each data interface.
| Name | FNiagaraDataInterfaceGPUParamInfo |
| Type | struct |
| Header File | /Engine/Plugins/FX/Niagara/Source/NiagaraShader/Public/NiagaraShared.h |
| Include Path | #include "NiagaraShared.h" |
Syntax
USTRUCT ()
struct FNiagaraDataInterfaceGPUParamInfo
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DataInterfaceHLSLSymbol | FString | Symbol of this DI in the hlsl. Used for binding parameters. | NiagaraShared.h | |
| DIClassName | FString | Name of the class for this data interface. Used for constructing the correct parameters struct. | NiagaraShared.h | |
| GeneratedFunctions | TArray< FNiagaraDataInterfaceGeneratedFunction > | Information about all the functions generated by the translator for this data interface. | NiagaraShared.h | |
| ShaderParametersOffset | uint32 | The offset for any shader parameters, when this member is INDEX_NONE we are in legacy mode for the data interface. | NiagaraShared.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsExternalParameter () |
Check to see if this is an external parameter or not. | NiagaraShared.h | |
bool IsUserParameter() |
NiagaraShared.h | ||
bool Serialize
(
FArchive& Ar |
NiagaraShared.h |