| FRenderResource
|
Module |
|
Header |
/Engine/Plugins/Runtime/HairStrands/Source/HairStrandsCore/Public/GroomResources.h |
Include |
#include "GroomResources.h" |
struct FHairMeshesRestResource : public FRenderResource
Render buffers that will be used for rendering
Name | Description | ||
---|---|---|---|
|
AttributeSampler |
||
|
AttributeTexture |
||
|
AuxilaryDataSampler |
||
|
AuxilaryDataTexture |
||
|
CoverageSampler |
||
|
CoverageTexture |
||
|
DepthSampler |
||
|
DepthTexture |
||
|
IndexBuffer |
||
|
NormalsBuffer |
||
|
PrimitiveCount |
||
|
const FHairMesh... |
RenderData |
Reference to the hair strands render data |
|
RestPositionBuffer |
Strand hair rest position buffer |
|
|
TangentSampler |
||
|
TangentTexture |
||
|
UVsBuffer |
||
|
VertexCount |
Name | Description | |
---|---|---|
|
FHairMeshesRestResource ( |
Build the hair strands resource |
Name | Description | ||
---|---|---|---|
|
GetResourcesSize() |
Return the memory size for GPU resources |
Name | Description | ||
---|---|---|---|
|
GetFriendlyName() |
Get the resource name |
|
|
InitResource() |
Initializes the resource. This is only called by the rendering thread. |
|
|
InitRHI() |
Init the buffer |
|
|
ReleaseResource() |
Prepares the resource for deletion. This is only called by the rendering thread. |
|
|
ReleaseRHI() |
Release the buffer |