Navigation
API > API/Plugins > API/Plugins/HairStrandsCore
Inheritance Hierarchy
- FRenderResource
- FHairCommonResource
- FHairMeshesRestResource
References
Module | HairStrandsCore |
Header | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/GroomResources.h |
Include | #include "GroomResources.h" |
Syntax
struct FHairMeshesRestResource : public FHairCommonResource
Remarks
Render buffers that will be used for rendering
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bInvertUV | |
![]() |
const FHairMeshesBulkData & | BulkData | Reference to the hair strands render data |
![]() |
FHairCardIndexBuffer | IndexBuffer | |
![]() |
uint32 | LayoutIndex | |
![]() |
FHairCardsVertexBuffer | NormalsBuffer | |
![]() |
FHairCardsVertexBuffer | RestPositionBuffer | Strand hair rest position buffer |
![]() |
TArray< FSamplerStateRHIRef > | Samplers | |
![]() |
TArray< FTextureReferenceRHIRef > | Textures | |
![]() |
FHairCardsVertexBuffer | UVsBuffer |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FHairMeshesRestResource
(
const FHairMeshesBulkData& BulkData, |
Build the hair strands resource |
Functions
Overridden from FHairCommonResource
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Init/release buffers | |
![]() ![]() |
void |
Overridden from FRenderResource
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
FString | Get the resource name | |
![]() ![]() |
void | InitResource
(
FRHICommandListBase& RHICmdList |
Initializes the resource. This is only called by the rendering thread. |
![]() ![]() |
void | Prepares the resource for deletion. This is only called by the rendering thread. |