FHairStrandsRestRootResource

Render buffers for root deformation for dynamic meshes

Windows
MacOS
Linux

Inheritance Hierarchy

FRenderResource

FHairStrandsRestRootResource

References

Module

HairStrandsCore

Header

/Engine/Plugins/Experimental/HairStrands/Source/HairStrandsCore/Public/GroomAsset.h

Include

#include "GroomAsset.h"

Syntax

struct FHairStrandsRestRootResource : public FRenderResource

Remarks

Render buffers for root deformation for dynamic meshes

Variables

Name Description

Public variable

TArray< FMeshPr...

 

MeshProjectionLODs

Store the hair projection information for each mesh LOD

Public variable

FHairStrandsRoo...

 

RootData

Store CPU data for root info & root binding

Public variable

FRWBuffer

 

RootNormalBuffer

Public variable

FRWBuffer

 

RootPositionBuffer

Public variable

FRWBuffer

 

VertexToCurveIndexBuffer

Constructors

Name Description

Public function

FHairStrandsRestRootResource()

Build the hair strands resource

Public function

FHairStrandsRestRootResource

(
    const FHairStrandsRootData& RootDa...
)

Public function

FHairStrandsRestRootResource

(
    const FHairStrandsDatas* HairS...,
    uint32 LODCount,
    const TArray< uint32 >& NumSamples
)

Functions

Name Description

Public function

void

 

PopulateFromRootData()

Populate GPU LOD data from RootData (this function doesn't initialize resources)

Overridden from FRenderResource

Name Description

Public function Virtual Const

FString

 

GetFriendlyName()

Get the resource name

Public function Virtual

void

 

InitRHI()

Init the buffer

Public function Virtual

void

 

ReleaseRHI()

Release the buffer

Classes

Name

Description

Public struct

FMeshProjectionLOD

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss