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

bool

 

bEnableCulling

Culling/Visibility data.

Public variable

uint32

 

CulledGPUParticleCountOffset

Public variable

FVector

 

CullingWorldSpaceOffset

Public variable

int32

 

CullOrientationAttributeOffset

Public variable

TArray< FPlane,...

 

CullPlanes

Public variable

int32

 

CullPositionAttributeOffset

Public variable

int32

 

CullScaleAttributeOffset

Public variable

FVector2D

 

DistanceCullRange

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

uint32

 

HalfDataStride

Public variable

uint32

 

IntDataStride

Public variable

FSphere

 

LocalBSphere

Public variable

int32

 

MeshIndex

Public variable

int32

 

MeshIndexAttributeOffset

Public variable

int32

 

ParticleCount

The number of particles in the system.

Public variable

FShaderResource...

 

ParticleDataFloatSRV

The data buffers that hold the particle attributes and their strides.

Public variable

FShaderResource...

 

ParticleDataHalfSRV

Public variable

FShaderResource...

 

ParticleDataIntSRV

Public variable

int32

 

RendererVisibility

Public variable

int32

 

RendererVisTagAttributeOffset

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.

Constants

Name

Description

MaxCullPlanes

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