Navigation
API > API/Plugins > API/Plugins/HairStrandsCore
Inheritance Hierarchy
- FRenderResource
- FHairCommonResource
- FHairCardsRestResource
References
| Module | HairStrandsCore |
| Header | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/GroomResources.h |
| Include | #include "GroomResources.h" |
Syntax
struct FHairCardsRestResource : public FHairCommonResource
Remarks
Render buffers that will be used for rendering
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bInvertUV | ||
| const FHairCardsBulkData & | BulkData | Reference to the hair strands render data | |
| uint32 | LayoutIndex | ||
| FHairCardsVertexBuffer | MaterialsBuffer | ||
| FHairCardsVertexBuffer | NormalsBuffer | ||
| FHairCardIndexBuffer | RestIndexBuffer | ||
| FHairCardsVertexBuffer | RestPositionBuffer | Strand hair rest position buffer | |
| TArray< FSamplerStateRHIRef > | Samplers | ||
| TArray< FTextureReferenceRHIRef > | Textures | ||
| FHairCardsVertexBuffer | UVsBuffer |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FHairCardsRestResource
(
const FHairCardsBulkData& InBulkData, |
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. |