Navigation
API > API/Plugins > API/Plugins/HairStrandsCore > API/Plugins/HairStrandsCore/FHairStrandsDeformedRootResource
References
| Module | HairStrandsCore |
| Header | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/GroomResources.h |
| Include | #include "GroomResources.h" |
Syntax
struct FLOD
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32 | AvailableCurveCount | ||
| uint32 | CurrentIndex | Whether the GPU data should be initialized with the asset data or not | |
| FRDGExternalBuffer[2] | DeformedSamplePositionsBuffer | ||
| FRDGExternalBuffer[2] | DeformedUniqueTrianglePositionBuffer | Strand hair roots translation and rotation in triangle-deformed position relative to the bound triangle. | |
| int32 | LODIndex | ||
| FRDGExternalBuffer[2] | MeshSampleWeightsBuffer | ||
| uint32 | SampleCount | Strand hair mesh interpolation matrix and sample indices | |
| EStatus | Status |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FRDGExternalBuffer & | |||
| const FRDGExternalBuffer & | |||
| uint32 | GetIndex
(
EFrameType T |
Double buffering is disabled by default unless the read-only cvar r.HairStrands.ContinuousDecimationReordering is set. | |
| const FRDGExternalBuffer & | |||
| const bool | IsValid () |
A LOD is considered valid as long as its resources are initialized. | |
| void | SwapBuffer () |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EFrameType | |||
| EStatus |