FNiagaraGPUSortInfo

Windows
MacOS
Linux

References

Module

Niagara

Header

/Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraGPUSortInfo.h

Include

#include "NiagaraGPUSortInfo.h"

Syntax

struct FNiagaraGPUSortInfo

Variables

Name Description

Public variable

FGPUSortManager...

 

AllocationInfo

The GPUSortManager bindings for this sort task.

Public variable

uint32

 

FloatDataStride

Public variable

uint32

 

GPUParticleCountOffset

Public variable

FShaderResource...

 

GPUParticleCountSRV

The actual GPU sim particle count. Needed to get an exact match on the index list.

Public variable

int32

 

ParticleCount

The number of particles in the system.

Public variable

FShaderResource...

 

ParticleDataFloatSRV

The data buffer that holds the particle attributes.

Public variable

int32

 

SortAttributeOffset

On which attribute to base the sorting.

Public variable

EGPUSortFlags

 

SortFlags

The sort constraints for the task in GPUSortManager.

Public variable

ENiagaraSortMod...

 

SortMode

How the particles should be sorted.

Public variable

FVector

 

ViewDirection

Public variable

FVector

 

ViewOrigin

View data.

Functions

Name Description

Public function

void

 

SetSortFlags

(
    bool bHighPrecisionKeys,
    bool bTranslucentMaterial
)

Set the SortFlags based on the emitter and material constraints.

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