Navigation
API > API/Plugins > API/Plugins/HairStrandsCore
Render buffers for root deformation for dynamic meshes
| Name | FHairStrandsRestRootResource |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/GroomResources.h |
| Include Path | #include "GroomResources.h" |
Syntax
struct FHairStrandsRestRootResource
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FHairStrandsRestRootResource
(
TArray< FHairStrandsRootBulkData >& BulkData, |
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< FHairStrandsLODRestRootResource * > | Store the hair projection information for each mesh LOD | GroomResources.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Allocate
(
FRDGBuilder& GraphBuilder, |
GroomResources.h | ||
void Allocate
(
FRDGBuilder& GraphBuilder, |
GroomResources.h | ||
void BeginInitResource() |
Forward call to each mesh LOD version | GroomResources.h | |
void BeginUpdateResourceRHI() |
GroomResources.h | ||
FHairStrandsLODRestRootResource * GetLOD
(
int32 InMeshLODIndex |
GroomResources.h | ||
const FHairStrandsLODRestRootResource * GetLOD
(
int32 InMeshLODIndex |
GroomResources.h | ||
uint32 GetLODCount() |
GroomResources.h | ||
uint32 GetResourcesSize() |
Return the memory size for GPU resources | GroomResources.h | |
uint32 GetRootCount() |
GroomResources.h | ||
void InternalResetLoadedSize() |
GroomResources.h | ||
bool IsDataValid
(
int32 InMeshLODIndex |
Accessors. | GroomResources.h | |
bool IsValid
(
int32 InMeshLODIndex |
GroomResources.h | ||
void ReleaseResource() |
GroomResources.h | ||
void StreamInData
(
int32 MeshLODIndex |
GroomResources.h |