Navigation
API > API/Plugins > API/Plugins/HairStrandsCore
Inheritance Hierarchy
- FRenderResource
- FHairCommonResource
- FHairStrandsRestResource
References
Module | HairStrandsCore |
Header | /Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/GroomResources.h |
Include | #include "GroomResources.h" |
Syntax
struct FHairStrandsRestResource : public FHairCommonResource
Remarks
Render buffers that will be used for rendering
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FHairStrandsBulkData & | BulkData | Reference to the hair strands render data |
![]() |
uint32 | CachedTangentPointCount | |
![]() |
FRDGExternalBuffer | CurveAttributeBuffer | Strand hair per-curve attribute buffer |
![]() |
FRDGExternalBuffer | CurveBuffer | Strand hair curves buffer (contains curves' points offset and count) |
![]() |
TArray< FPackedHairCurve > | CurveData | Curve: Point offset & count |
![]() |
const EHairStrandsResourcesType | CurveType | Type of curves |
![]() |
FRDGExternalBuffer | PointAttributeBuffer | Strand hair per-point attribute buffer |
![]() |
FRDGExternalBuffer | PointToCurveBuffer | Strand hair vertex to curve index mapping |
![]() |
FRDGExternalBuffer | PositionBuffer | Strand hair rest position buffer |
![]() |
FRDGExternalBuffer | PositionOffsetBuffer | Strand hair rest offset position buffer |
![]() |
FRDGExternalBuffer | TangentBuffer | Strand hair tangent buffer (non-allocated unless used for static geometry) |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FHairStrandsRestResource
(
FHairStrandsBulkData& InBulkData, |
Build the hair strands resource |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
uint32 | ||
![]() ![]() |
uint32 | ||
![]() ![]() |
FVector | ||
![]() ![]() |
uint32 | Return the memory size for GPU resources | |
![]() |
FRDGExternalBuffer | GetTangentBuffer
(
FRDGBuilder& GraphBuilder, |
Overridden from FHairCommonResource
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | InternalAllocate
(
FRDGBuilder& GraphBuilder |
Init/Release buffers |
![]() ![]() |
FHairStrandsBulkCommon * | ||
![]() ![]() |
bool | InternalGetOrRequestData
(
uint32 InRequestedCurveCount, |
|
![]() ![]() |
void | ||
![]() ![]() |
void |
Overridden from FRenderResource
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
FString | Get the resource name |