Navigation
API > API/Plugins > API/Plugins/HairStrandsCore
Inheritance Hierarchy
- FRenderResource
- FHairCommonResource
- FHairStrandsDeformedRootResource
References
Module | HairStrandsCore |
Header | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/GroomResources.h |
Include | #include "GroomResources.h" |
Syntax
struct FHairStrandsDeformedRootResource : public FHairCommonResource
Remarks
Render buffers for root deformation for dynamic meshes
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
const EHairStrandsResourcesType | CurveType | Type of curves |
![]() |
TArray< FLOD > | LODs | |
![]() |
int32 | MeshLODIndex | Last update MeshLODIndex |
![]() |
uint32 | RootCount | Store the hair projection information for each mesh LOD |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FHairStrandsDeformedRootResource
(
EHairStrandsResourcesType CurveType, |
Build the hair strands resource | |
![]() |
FHairStrandsDeformedRootResource
(
const FHairStrandsRestRootResource* InRestResources, |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
uint32 | Return the memory size for GPU resources | |
![]() ![]() |
bool | IsValid () |
Indirect if the current root resources are valid and up to date |
![]() ![]() |
bool | IsValid
(
int32 InMeshLODIndex |
|
![]() |
void | SwapBuffer () |
Overridden from FHairCommonResource
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | InternalAllocate
(
FRDGBuilder& GraphBuilder, |
Init/Release buffers |
![]() ![]() ![]() |
bool | InternalIsLODDataLoaded
(
uint32 InRequestedCurveCount, |
|
![]() ![]() |
void |
Overridden from FRenderResource
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
FString | Get the resource name |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FLOD |