FScopedNiagaraDataSetGPUReadback

Allows immediate access to GPU data on the CPU, you can then use [FNiagaraDataSetAccessor](API\Plugins\Niagara\FNiagaraDataSetAccessor) to access the data.

Windows
MacOS
Linux

References

Module

Niagara

Header

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

Include

#include "NiagaraDataSet.h"

Syntax

class FScopedNiagaraDataSetGPUReadback

Remarks

Allows immediate access to GPU data on the CPU, you can then use FNiagaraDataSetAccessor to access the data. This will make a copy of the GPU data and will stall the CPU until the data is ready from the GPU, therefore it should only be used for tools / debugging. For async readback see FNiagaraSystemInstance::RequestCapture.

Constructors

Destructors

Functions

Name Description

Public function Const

uint32

 

GetNumInstances()

Public function

void

 

ReadbackData

(
    NiagaraEmitterInstanceBatcher*...,
    FNiagaraDataSet* InDataSet
)

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