FNiagaraDataInterfaceProxyRW

#todo(dmp): some of the stuff we'd expect to see here is on [FNiagaraDataInterfaceProxy](API\Plugins\Niagara\FNiagaraDataInterfaceProxy) - refactor?

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Niagara

Header

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

Include

#include "NiagaraDataInterfaceRW.h"

Syntax

struct FNiagaraDataInterfaceProxyRW : public FNiagaraDataInterfaceProxy

Remarks

#todo(dmp): some of the stuff we'd expect to see here is on FNiagaraDataInterfaceProxy - refactor?

Functions

Name Description

Public function Virtual

void

 

ClearBuffers

(
    FRHICommandList& RHICmdList
)

Public function Const

FIntVector

 

GetElementCount

(
    FNiagaraSystemInstanceID SystemInst...
)

Get the element count for this instance.

Public function Virtual Const

uint32

 

GetGPUInstanceCountOffset

(
    FNiagaraSystemInstanceID SystemInst...
)

For data interfaces that support iteration on the GPU we need to be able to get the 'real' element count as known only by the GPU The dispatch will use the CPU count, which is potentially an over-estimation, and the value inside the buffer will be used to clip instances that are not valid

Overridden from FNiagaraDataInterfaceProxy

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