Navigation
API > API/Plugins > API/Plugins/ChaosNiagara
Proxy to send data to gpu
| Name | FNDIPhysicsFieldProxy |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/ChaosNiagara/Source/ChaosNiagara/Classes/NiagaraDataInterfacePhysicsField.h |
| Include Path | #include "NiagaraDataInterfacePhysicsField.h" |
Syntax
struct FNDIPhysicsFieldProxy : public FNiagaraDataInterfaceProxy
Inheritance Hierarchy
- FNiagaraDataInterfaceProxy → FNDIPhysicsFieldProxy
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SystemInstancesToProxyData | TMap< FNiagaraSystemInstanceID, FNDIFieldRenderData > | List of proxy data for each system instances | NiagaraDataInterfacePhysicsField.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DestroyPerInstanceData
(
const FNiagaraSystemInstanceID& SystemInstance |
Destroy the proxy data if necessary | NiagaraDataInterfacePhysicsField.h | |
void InitializePerInstanceData
(
const FNiagaraSystemInstanceID& SystemInstance |
Initialize the per instance data | NiagaraDataInterfacePhysicsField.h |
Overridden from FNiagaraDataInterfaceProxy
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ConsumePerInstanceDataFromGameThread
(
void* PerInstanceData, |
Get the data that will be passed to render | NiagaraDataInterfacePhysicsField.h | |
virtual int32 PerInstanceDataPassedToRenderThreadSize() |
Get the size of the data that will be passed to render | NiagaraDataInterfacePhysicsField.h |