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