UNiagaraDataInterface::GenerateIterationSourceNamespaceReadAttributesHLSL

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

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 GenerateIterationSourceNamespaceReadAttributesHLSL
(
    FNiagaraDataInterfaceGPUParamInfo & DIInstanceInfo,
    const FNiagaraVariable & InIterationSourceVariable,
    TConstArrayView< FNiagaraVariable > InArguments,
    TConstArrayView< FNiagaraVariable > InAttributes,
    TConstArrayView< FString > InAttributeHLSLNames,
    bool bInSetToDefaults,
    bool bPartialWrites,
    TArray< FText > & OutErrors,
    FString & OutHLSL
) const

Remarks

Generate the necessary plumbing HLSL at the beginning 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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss