Navigation
API > API/Plugins > API/Plugins/HairStrandsCore
References
| Module | HairStrandsCore |
| Header | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/GroomResources.h |
| Include | #include "GroomResources.h" |
Syntax
struct FHairStrandsDeformedRootResource
Remarks
Render buffers for root deformation for dynamic meshes
Variables
| Type | Name | Description | |
|---|---|---|---|
| const EHairStrandsResourcesType | CurveType | Type of curves | |
| TArray< FHairStrandsLODDeformedRootResource * > | LODs | Store the hair projection information for each mesh LOD |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FHairStrandsDeformedRootResource
(
FHairStrandsRestRootResource* InRestResources, |
Build the hair strands resource |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Allocate
(
FRDGBuilder& GraphBuilder, |
Init/Release buffers | |
| void | Allocate
(
FRDGBuilder& GraphBuilder, |
||
| FHairStrandsLODDeformedRootResource * | |||
| const FHairStrandsLODDeformedRootResource * | |||
| uint32 | Return the memory size for GPU resources | ||
| bool | IsDataValid
(
int32 InMeshLODIndex |
Indirect if the current root resources are valid and up to date | |
| bool | |||
| void | |||
| void | SwapBuffer () |
Void InternalRelease(); |