Navigation
API > API/Plugins > API/Plugins/HairStrandsCore
Inheritance Hierarchy
- FRenderResource
- FHairCommonResource
- FHairStrandsRestRootResource
References
| Module | HairStrandsCore |
| Header | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/GroomResources.h |
| Include | #include "GroomResources.h" |
Syntax
struct FHairStrandsRestRootResource : public FHairCommonResource
Remarks
Render buffers for root deformation for dynamic meshes
Variables
| Type | Name | Description | |
|---|---|---|---|
| FHairStrandsRootBulkData & | BulkData | Store CPU data for root info & root binding | |
| const EHairStrandsResourcesType | CurveType | Type of curves | |
| TArray< FLOD > | LODs | Store the hair projection information for each mesh LOD |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FHairStrandsRestRootResource
(
FHairStrandsRootBulkData& BulkData, |
Build the hair strands resource |
Functions
| Type | Name | Description | |
|---|---|---|---|
| uint32 | GetLODCount () |
Accessors. | |
| uint32 | Return the memory size for GPU resources | ||
| uint32 | GetRootCount () |
||
| void | Populate GPU LOD data from RootData (this function doesn't initialize resources) |
Overridden from FHairCommonResource
| Type | Name | Description | |
|---|---|---|---|
| void | InternalAllocate
(
FRDGBuilder& GraphBuilder, |
Init/Release buffers | |
| FHairStrandsBulkCommon * | |||
| bool | InternalGetOrRequestData
(
uint32 InRequestedCurveCount, |
||
| bool | InternalIsLODDataLoaded
(
uint32 InRequestedCurveCount, |
||
| void | |||
| void |
Overridden from FRenderResource
| Type | Name | Description | |
|---|---|---|---|
| FString | Get the resource name |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FLOD |