Choose your operating system:
Windows
macOS
Linux
| UNiagaraDataInterface::GenerateIterationSourceNamespaceReadAttributesHLSL()
|
Module |
|
Header |
/Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraDataInterface.h |
Include |
#include "NiagaraDataInterface.h" |
virtual bool GenerateIterationSourceNamespaceReadAttributesHLSL
(
FNiagaraDataInterfaceGPUParamInfo & DIInstanceInfo,
const FNiagaraVariable & InIterationSourceVariable,
TConstArrayView< FNiagaraVariable > InArguments,
TConstArrayView< FNiagaraVariable > InAttributes,
TConstArrayView< FString > InAttributeHLSLNames,
bool bInSetToDefaults,
bool bSpawnOnly,
bool bPartialWrites,
TArray< FText > & OutErrors,
FString & OutHLSL
) const
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.