Navigation
Unreal Engine C++ API Reference > Plugins > HairStrandsCore
Inheritance Hierarchy
- FRenderResource
- FHairCommonResource
- FHairStrandsDeformedResource
References
Module | HairStrandsCore |
Header | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/GroomResources.h |
Include | #include "GroomResources.h" |
Syntax
struct FHairStrandsDeformedResource : public FHairCommonResource
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FHairStrandsBulkData & | BulkData | Reference to the hair strands render data |
![]() |
uint32 | CurrentIndex | Whether the GPU data should be initialized with the asset data or not |
![]() |
const EHairStrandsResourcesType | CurveType | Type of curves |
![]() |
FRDGExternalBuffer[2] | DeformedOffsetBuffer | Strand hair deformed position buffer (previous and current) |
![]() |
FRDGExternalBuffer[2] | DeformedPositionBuffer | Strand hair deformed position buffer (previous and current) |
![]() |
FRDGExternalBuffer | DeformerBuffer | Strand hair deformer buffer. This buffer is optionally created & filled in by a mesh deformer |
![]() |
FRDGExternalBuffer | DeformerCurveAttributeBuffer | |
![]() |
FRDGExternalBuffer | DeformerPointAttributeBuffer | |
![]() |
FVector[2] | PositionOffset | Position offset as the deformed positions are expressed in relative coordinate (16bits) |
![]() |
FRDGExternalBuffer | TangentBuffer | Strand hair tangent buffer |
![]() |
uint32[2] | UniqueViewIDs | Track the view which has update the formed position. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FHairStrandsDeformedResource
(
FHairStrandsBulkData& BulkData, |
Build the hair strands resource |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
FRDGExternalBuffer & | GetBuffer
(
EFrameType T |
|
![]() |
FRDGExternalBuffer & | GetDeformerBuffer
(
FRDGBuilder& GraphBuilder |
Return deformer buffers. |
![]() |
FRDGExternalBuffer & | GetDeformerCurveAttributeBuffer
(
FRDGBuilder& GraphBuilder |
|
![]() |
FRDGExternalBuffer & | GetDeformerPointAttributeBuffer
(
FRDGBuilder& GraphBuilder |
|
![]() ![]() |
uint32 | GetIndex
(
EFrameType T |
Helper accessors. |
![]() ![]() |
const FVector & | GetPositionOffset
(
EFrameType T |
|
![]() |
FVector & | GetPositionOffset
(
EFrameType T |
|
![]() |
FRDGExternalBuffer & | ||
![]() ![]() |
uint32 | Return the memory size for GPU resources | |
![]() |
uint32 & | GetUniqueViewID
(
EFrameType T |
|
![]() ![]() |
uint32 | GetUniqueViewID
(
EFrameType T |
|
![]() |
void | SetPositionOffset
(
EFrameType T, |
|
![]() |
void | SwapBuffer () |
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 |