Navigation
API > API/Plugins > API/Plugins/Niagara
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.
| Name | FScopedNiagaraDataSetGPUReadback |
| Type | class |
| Header File | /Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraDataSet.h |
| Include Path | #include "NiagaraDataSet.h" |
Syntax
class FScopedNiagaraDataSetGPUReadback
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FScopedNiagaraDataSetGPUReadback() |
NiagaraDataSet.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FScopedNiagaraDataSetGPUReadback() |
NiagaraDataSet.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ComputeDispatchInterface | FNiagaraGpuComputeDispatchInterface * | NiagaraDataSet.h | ||
| DataBuffer | FNiagaraDataBuffer * | NiagaraDataSet.h | ||
| DataSet | FNiagaraDataSet * | NiagaraDataSet.h | ||
| NumInstances | uint32 | NiagaraDataSet.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
uint32 GetNumInstances() |
NiagaraDataSet.h | ||
void ReadbackData
(
FNiagaraGpuComputeDispatchInterface* ComputeDispatchInterface, |
NiagaraDataSet.h |