| FRenderResource
|
Module |
|
Header |
/Engine/Plugins/Experimental/HairStrands/Source/HairStrandsCore/Public/GroomAsset.h |
Include |
#include "GroomAsset.h" |
struct FHairStrandsDeformedResource : public FRenderResource
Name | Description | ||
---|---|---|---|
|
const bool |
bInitializedData |
Whether the GPU data should be initialized with the asset data or not |
|
CurrentIndex |
Whether the GPU data should be initialized with the asset data or not |
|
|
FRWBuffer[2] |
DeformedPositionBuffer |
Strand hair deformed position buffer (previous and current) |
|
PositionOffset |
Position offset as the deformed positions are expressed in relative coordinate (16bits) |
|
|
const FHairStra... |
RenderData |
Reference to the hair strands render data |
|
TangentBuffer |
Strand hair tangent buffer |
Name | Description | |
---|---|---|
|
FHairStrandsDeformedResource ( |
Build the hair strands resource |
Name | Description | ||
---|---|---|---|
|
GetFriendlyName() |
Get the resource name |
|
|
InitRHI() |
Init the buffer |
|
|
ReleaseRHI() |
Release the buffer |