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