Navigation
API > API/Plugins > API/Plugins/Niagara
References
| Module | Niagara |
| Header | /Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraGPUSortInfo.h |
| Include | #include "NiagaraGPUSortInfo.h" |
Syntax
struct FNiagaraGPUSortInfo
Variables
| Type | Name | Description | |
|---|---|---|---|
| FGPUSortManager::FAllocationInfo | AllocationInfo | The GPUSortManager bindings for this sort task. | |
| bool | bEnableCulling | Culling/Visibility data. | |
| uint32 | CulledGPUParticleCountOffset | ||
| FVector | CullingWorldSpaceOffset | ||
| int32 | CullOrientationAttributeOffset | ||
| TArray< FPlane, TFixedAllocator< MaxCullPlanes > > | CullPlanes | ||
| int32 | CullPositionAttributeOffset | ||
| int32 | CullScaleAttributeOffset | ||
| FVector2f | DistanceCullRange | ||
| uint32 | FloatDataStride | ||
| uint32 | GPUParticleCountOffset | ||
| FShaderResourceViewRHIRef | GPUParticleCountSRV | The actual GPU sim particle count. Needed to get an exact match on the index list. | |
| uint32 | HalfDataStride | ||
| uint32 | IntDataStride | ||
| FSphere | LocalBSphere | ||
| int32 | MeshIndex | ||
| int32 | MeshIndexAttributeOffset | ||
| int32 | ParticleCount | The number of particles in the system. | |
| FShaderResourceViewRHIRef | ParticleDataFloatSRV | The data buffers that hold the particle attributes and their strides. | |
| FShaderResourceViewRHIRef | ParticleDataHalfSRV | ||
| FShaderResourceViewRHIRef | ParticleDataIntSRV | ||
| int32 | RendererVisibility | ||
| int32 | RendererVisTagAttributeOffset | ||
| int32 | SortAttributeOffset | On which attribute to base the sorting. | |
| EGPUSortFlags | SortFlags | The sort constraints for the task in GPUSortManager. | |
| ENiagaraSortMode | SortMode | How the particles should be sorted. | |
| FVector3f | SystemLWCTile | ||
| FVector | ViewDirection | Forward declaration of concrete types // Macro version - declares all three variants. | |
| FVector | ViewOrigin | View data. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | SetSortFlags
(
bool bHighPrecisionKeys, |
Set the SortFlags based on the emitter and material constraints. |
Constants
| Name | Description |
|---|---|
| MaxCullPlanes |