| FRenderResource
|
Module |
|
Header |
/Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/GroomResources.h |
Include |
#include "GroomResources.h" |
struct FHairStrandsRestRootResource : public FRenderResource
Render buffers for root deformation for dynamic meshes
Name | Description | ||
---|---|---|---|
|
LODs |
Store the hair projection information for each mesh LOD |
|
|
RootData |
Store CPU data for root info & root binding |
|
|
RootNormalBuffer |
||
|
RootPositionBuffer |
||
|
VertexToCurveIndexBuffer |
Name | Description | |
---|---|---|
|
FHairStrandsRestRootResource ( |
Build the hair strands resource |
|
FHairStrandsRestRootResource ( |
Name | Description | ||
---|---|---|---|
|
GetResourcesSize() |
Return the memory size for GPU resources |
|
|
PopulateFromRootData() |
Populate GPU LOD data from RootData (this function doesn't initialize resources) |
Name | Description | ||
---|---|---|---|
|
GetFriendlyName() |
Get the resource name |
|
|
InitRHI() |
Init the buffer |
|
|
ReleaseRHI() |
Release the buffer |
Name |
Description |
|
---|---|---|
|
FLOD |