Navigation
API > API/Plugins > API/Plugins/Niagara
Proxy to send data to gpu
| Name | FNDIPhysicsAssetProxy |
| Type | struct |
| Header File | /Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraDataInterfacePhysicsAsset.h |
| Include Path | #include "NiagaraDataInterfacePhysicsAsset.h" |
Syntax
struct FNDIPhysicsAssetProxy : public FNiagaraDataInterfaceProxy
Inheritance Hierarchy
- FNiagaraDataInterfaceProxy → FNDIPhysicsAssetProxy
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SystemInstancesToProxyData | TMap< FNiagaraSystemInstanceID, FNDIPhysicsAssetData > | List of proxy data for each system instances | NiagaraDataInterfacePhysicsAsset.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DestroyPerInstanceData
(
const FNiagaraSystemInstanceID& SystemInstance |
Destroy the proxy data if necessary | NiagaraDataInterfacePhysicsAsset.h | |
void InitializePerInstanceData
(
const FNiagaraSystemInstanceID& SystemInstance |
Initialize the Proxy data buffer | NiagaraDataInterfacePhysicsAsset.h |
Overridden from FNiagaraDataInterfaceProxy
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ConsumePerInstanceDataFromGameThread
(
void* PerInstanceData, |
Get the data that will be passed to render | NiagaraDataInterfacePhysicsAsset.h | |
virtual int32 PerInstanceDataPassedToRenderThreadSize() |
Get the size of the data that will be passed to render | NiagaraDataInterfacePhysicsAsset.h | |
virtual void PreStage
(
const FNDIGpuComputePreStageContext& Context |
Launch all pre stage functions | NiagaraDataInterfacePhysicsAsset.h |