UNiagaraDataInterface::GenerateIterationSourceNamespaceWriteAttributesHLSL

Generate the necessary plumbing HLSL at the end of the stage where this is used as a sim stage iteration source.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

References

Module

Niagara

Header

/Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraDataInterface.h

Include

#include "NiagaraDataInterface.h"

Syntax

virtual bool GenerateIterationSourceNamespaceWriteAttributesHLSL
(
    FNiagaraDataInterfaceGPUParamInfo & DIInstanceInfo,
    const FNiagaraVariable & InIterationSourceVariable,
    TConstArrayView< FNiagaraVariable > InArguments,
    TConstArrayView< FNiagaraVariable > InAttributes,
    TConstArrayView< FString > InAttributeHLSLNames,
    bool bSpawnOnly,
    bool bPartialWrites,
    TArray< FText > & OutErrors,
    FString & OutHLSL
) const

Remarks

Generate the necessary plumbing HLSL at the end of the stage where this is used as a sim stage iteration source.

that this should inject other internal calls using the CustomHLSL node syntax. See GridCollection2D for an example.