Navigation
Unreal Engine C++ API Reference > Plugins > HairStrandsCore
Inheritance Hierarchy
- FRenderResource
- FHairCommonResource
- FHairMeshesDeformedResource
References
Module | HairStrandsCore |
Header | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/GroomResources.h |
Include | #include "GroomResources.h" |
Syntax
struct FHairMeshesDeformedResource : public FHairCommonResource
Remarks
Render buffers that will be used for rendering
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
const bool | bInitializedData | Whether the GPU data should be initialized with the asset data or not |
![]() |
const FHairMeshesBulkData & | BulkData | Reference to the hair strands render data |
![]() |
uint32 | CurrentIndex | Whether the GPU data should be initialized with the asset data or not |
![]() |
FRDGExternalBuffer[2] | DeformedPositionBuffer | Strand hair deformed position buffer (previous and current) |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FHairMeshesDeformedResource
(
const FHairMeshesBulkData& InBulkData, |
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 | |
![]() |
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 |