Navigation
API > API/Plugins > API/Plugins/HairStrandsCore
Inheritance Hierarchy
- FRenderResource
- FHairCommonResource
- FHairCardsDeformedResource
References
| Module | HairStrandsCore |
| Header | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/GroomResources.h |
| Include | #include "GroomResources.h" |
Syntax
struct FHairCardsDeformedResource : public FHairCommonResource
Variables
| Type | Name | Description | |
|---|---|---|---|
| const bool | bInitializedData | Whether the GPU data should be initialized with the asset data or not | |
| const FHairCardsBulkData & | BulkData | Reference to the hair strands render data | |
| FRDGExternalBuffer | DeformedNormalBuffer | ||
| FRDGExternalBuffer[2] | DeformedPositionBuffer | Strand hair deformed position buffer (previous and current) |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FHairCardsDeformedResource
(
const FHairCardsBulkData& BulkData, |
Build the hair strands resource |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FRDGExternalBuffer & | GetBuffer
(
EFrameType T |
||
| uint32 | GetIndex
(
EFrameType T |
Helper accessors. | |
| uint32 | Return the memory size for GPU resources |
Overridden from FHairCommonResource
| Type | Name | Description | |
|---|---|---|---|
| void | InternalAllocate
(
FRDGBuilder& GraphBuilder |
Init/release buffers | |
| void |
Overridden from FRenderResource
| Type | Name | Description | |
|---|---|---|---|
| FString | Get the resource name |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EFrameType |