Navigation
API > API/Plugins > API/Plugins/Niagara > API/Plugins/Niagara/UNiagaraDataInterface
Description
Generate the necessary plumbing HLSL at the end of the stage where this is used as a sim stage iteration source. Note that this should inject other internal calls using the CustomHLSL node syntax. See GridCollection2D for an example.
Derived Overrides
- UNiagaraDataInterfaceGrid2DCollection::GenerateIterationSourceNamespaceWriteAttributesHLSL
- UNiagaraDataInterfaceGrid3DCollection::GenerateIterationSourceNamespaceWriteAttributesHLSL
| Name | GenerateIterationSourceNamespaceWriteAttributesHLSL |
| Type | function |
| Header File | /Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraDataInterface.h |
| Include Path | #include "NiagaraDataInterface.h" |
virtual bool GenerateIterationSourceNamespaceWriteAttributesHLSL
(
FNiagaraDataInterfaceGPUParamInfo & DIInstanceInfo,
const FNiagaraVariable & InIterationSourceVariable,
TConstArrayView< FNiagaraVariable > InArguments,
TConstArrayView< FNiagaraVariable > InAttributes,
TConstArrayView< FString > InAttributeHLSLNames,
TConstArrayView< FNiagaraVariable > InAllAttributes,
bool bSpawnOnly,
bool bPartialWrites,
TArray < FText > & OutErrors,
FString & OutHLSL
) const