| FRenderResource
|
Module |
|
Header |
/Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/GroomResources.h |
Include |
#include "GroomResources.h" |
struct FHairStrandsRestResource : public FRenderResource
Render buffers that will be used for rendering
Name | Description | ||
---|---|---|---|
|
AttributeBuffer |
Strand hair attribute buffer |
|
|
MaterialBuffer |
Strand hair material buffer |
|
|
PositionOffset |
Position offset as the rest positions are expressed in relative coordinate (16bits) |
|
|
const FHairStra... |
RenderData |
Reference to the hair strands render data |
|
RestPositionBuffer |
Strand hair rest position buffer |
Name | Description | |
---|---|---|
|
FHairStrandsRestResource ( |
Build the hair strands resource |
Name | Description | ||
---|---|---|---|
|
GetResourcesSize() |
Return the memory size for GPU resources |
|
|
GetVertexCount() |
Name | Description | ||
---|---|---|---|
|
GetFriendlyName() |
Get the resource name |
|
|
InitRHI() |
Init the buffer |
|
|
ReleaseRHI() |
Release the buffer |