Navigation
API > API/Plugins > API/Plugins/HairStrandsCore > API/Plugins/HairStrandsCore/Niagara
Inheritance Hierarchy
- FRenderResource
- FNDIVelocityGridBuffer
References
| Module | HairStrandsCore |
| Header | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/Niagara/NiagaraDataInterfaceVelocityGrid.h |
| Include | #include "Niagara/NiagaraDataInterfaceVelocityGrid.h" |
Syntax
struct FNDIVelocityGridBuffer : public FRenderResource
Remarks
Render buffers that will be used in hlsl functions
Variables
| Type | Name | Description | |
|---|---|---|---|
| FNiagaraPooledRWBuffer | GridDataBuffer | Grid data texture | |
| FIntVector | GridSize | Grid size that will be used for the collision | |
| int32 | NumAttributes | Num attributes in the buffer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Initialize
(
const FIntVector GridSize, |
Set the grid size |
Overridden from FRenderResource
| Type | Name | Description | |
|---|---|---|---|
| FString | Get the resource name | ||
| void | InitRHI
(
FRHICommandListBase& RHICmdList |
Init the buffer | |
| void | ReleaseRHI () |
Release the buffer |