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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback