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