Navigation
API > API/Plugins > API/Plugins/HairStrandsCore > API/Plugins/HairStrandsCore/Niagara
Inheritance Hierarchy
- FRenderResource
- FNDIHairStrandsBuffer
References
Module | HairStrandsCore |
Header | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/Niagara/NiagaraDataInterfaceHairStrands.h |
Include | #include "Niagara/NiagaraDataInterfaceHairStrands.h" |
Syntax
struct FNDIHairStrandsBuffer : public FRenderResource
Remarks
Render buffers that will be used in hlsl functions
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FNiagaraPooledRWBuffer | BoundingBoxBuffer | Bounding Box Buffer |
![]() |
FIntVector4 | BoundingBoxOffsets | Bounding box offsets |
![]() |
bool | bValidGeometryType | Valid geometry type for hair (strands, cards, mesh) |
![]() |
TRefCountPtr< FRDGPooledBuffer > | DeformedPositionBuffer | Deformed position buffer in case no resource are there |
![]() |
TStaticArray< float, 32 *NumScales > | ParamsScale | Scales along the strand |
![]() |
FNiagaraPooledRWBuffer | ParamsScaleBuffer | Params scale buffer |
![]() |
const FHairStrandsDeformedResource * | SourceDeformedResources | The strand deformed resource to write into |
![]() |
const FHairStrandsDeformedRootResource * | SourceDeformedRootResources | The strand root resource to write into |
![]() |
const FHairStrandsRestResource * | SourceRestResources | The strand asset resource from which to sample |
![]() |
const FHairStrandsRestRootResource * | SourceRestRootResources | The strand root resource to write into |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Initialize
(
const FHairStrandsRestResource* HairStrandsRestResource, |
Set the asset that will be used to affect the buffer |
![]() |
void | Transfer
(
FRDGBuilder& GraphBuilder, |
Transfer CPU datas to GPU |
![]() |
void | Update
(
const FHairStrandsRestResource* HairStrandsRestResource, |
Set the asset that will be used to affect the buffer |
Overridden from FRenderResource
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
FString | Get the resource name | |
![]() ![]() |
void | InitRHI
(
FRHICommandListBase& RHICmdList |
Init the buffer |
![]() ![]() |
void | ReleaseRHI () |
Release the buffer |