Navigation
API > API/Plugins > API/Plugins/Niagara > API/Plugins/Niagara/FNiagaraGpuComputeDebugInterface > API/Plugins/Niagara/FNiagaraGpuComputeDebugInterface/AddAttributeTexture
References
| Module | Niagara |
| Header | /Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraGpuComputeDebugInterface.h |
| Include | #include "NiagaraGpuComputeDebugInterface.h" |
| Source | /Engine/Plugins/FX/Niagara/Source/Niagara/Private/NiagaraGpuComputeDebugInterface.cpp |
void AddAttributeTexture
&40;
FRDGBuilder & GraphBuilder,
FNiagaraSystemInstanceID SystemInstanceID,
FName SourceName,
FRDGTextureRef Texture,
FIntVector4 NumTextureAttributes,
FIntVector4 AttributeIndices,
FVector2D PreviewDisplayRange
&41;
Remarks
Add a texture to visualize that contains a number of attributes and select which attributes to push into RGBA where -1 means ignore that channel The first -1 in the attribute indices list will also limit the number of attributes we attempt to read NumTextureAttributes in this version is meant for a 3D atlas