Navigation
API > API/Plugins > API/Plugins/HairStrandsCore > API/Plugins/HairStrandsCore/Niagara
Inheritance Hierarchy
- FNiagaraDataInterfaceProxy
- FNDIHairStrandsProxy
References
| Module | HairStrandsCore |
| Header | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/Niagara/NiagaraDataInterfaceHairStrands.h |
| Include | #include "Niagara/NiagaraDataInterfaceHairStrands.h" |
Syntax
struct FNDIHairStrandsProxy : public FNiagaraDataInterfaceProxy
Remarks
Proxy to send data to gpu
Variables
| Type | Name | Description | |
|---|---|---|---|
| TMap< FNiagaraSystemInstanceID, FNDIHairStrandsData > | SystemInstancesToProxyData | List of proxy data for each system instances |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | DestroyPerInstanceData
(
const FNiagaraSystemInstanceID& SystemInstance |
Destroy the proxy data if necessary | |
| void | InitializePerInstanceData
(
const FNiagaraSystemInstanceID& SystemInstance |
Initialize the Proxy data strands buffer |
Overridden from FNiagaraDataInterfaceProxy
| Type | Name | Description | |
|---|---|---|---|
| void | ConsumePerInstanceDataFromGameThread
(
void* PerInstanceData, |
Get the data that will be passed to render | |
| int32 | Get the size of the data that will be passed to render | ||
| void | PostSimulate
(
const FNDIGpuComputePostSimulateContext& Context |
MGPU buffer copy after simulation | |
| void | PreStage
(
const FNDIGpuComputePreStageContext& Context |
Launch all pre stage functions |