/Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraGPUInstanceCountManager.h
A manager that handles the buffer containing the GPU particle count. Also provides related functionalities like the generation of the draw indirect buffer.
class FNiagaraGPUInstanceCountManager
int32
AllocatedCulledCounts
The allocated instance counts in the culled count buffer
int32
AllocatedInstanceCounts
The allocated instance counts in CountBuffer
bool
bAcquiredCulledCounts
Whether or not the culled counts were acquired this frame
FRWBuffer
CountBuffer
A buffer holding the each emitter particle count after a simulation tick.
FRHIGPUMemoryRe...
CountReadback
int32
CountReadbackSize
FRWBuffer
CulledCountBuffer
ERHIAccess
CulledCountsRHIAccess
Used to track RHI access for the culled counts buffer.
TArray<FNiagar...
DrawIndirectArgGenTasks
The list of all draw indirected tasks that are to be run inUpdateDrawIndirectBuffers()
TMap<FNiagaraD...
DrawIndirectArgMap
uint32
DrawIndirectLowWaterFrames
TArray<FIndire...
DrawIndirectPool
Buffers holding drawindirect data to render GPU emitter renderers.
ERHIFeatureLeve...
FeatureLevel
TArray< uint32 ...
FreeEntries
TArray< uint32 ...
InstanceCountClearTasks
The list of all instance count clear tasks that are to be run inUpdateDrawIndirectBuffers()
int32
MultiViewAllocatedInstanceCounts
Mirrored copy of CountBuffer for multi-view rendering.
FRWBuffer
MultiViewCountBuffer
int32
RequiredCulledCounts
The number of culled instance counts needed from view culling
int32
UsedInstanceCounts
The current used instance counts allocated fromFNiagaraDataBuffer::AllocateGPU()